Posted by LM
2014-01-09

Hey! This is exactly what I have been looking for, however I have one small problem. My host tells me "Can not connect to database server [ localhost ] : The mysql extension is deprecated and will be removed in the future : use mysqli or PDO instead" so I was hoping you could point me to the file so I can change it to mysqli or PDO myself, there are so many files that I can't seem to locate the mysql_connect! Thank you for your work and time. :)
Posted by Tom
2014-01-09

Hi LM,

>"Can not connect to database server [ localhost ] : The mysql extension is deprecated and will be removed in the future : use mysqli or PDO instead"

You encountered two error messages. (1) Can not connect to database, (2) The mysql extension is deprecated.

(2) is just a warning so you can ignore it. You need to figure out the cause of (1). Most likely the hostname(DB_HOSTNAME) is wrong.