Dear Friend,
Two days before we migrated our hosting to CPanel hosting.
After uploading the contents and exporting the database, the site displayed “Database connection failed”
We enquired the hosting service providers and their reply is given below
we would like to Inform you that , we checked at our server end and your database is connecting fine with Localhost and as well as IP ( mysql -u username -hlocalhost -p ) ( mysql -u username -hxxx.yy.zzz.qqq -p ) and your database setting should be double code end with semicolon . kindly coordinate with your developer to check your database string . please contact to us for future assistance.
We could not able to understand the meaning of “double code end with semicolon”
Kindly suggest us how to configure database in config.php file