I recently exported my website from DP onto my desktop. I am attempting to upload the site to Godaddy. The database and files were uploaded correctly (at least I believe this to be the case). DP gives you new credentials when you export and I used those to set up the database.
Everything I read tells me to go to my settings.php file to make the changes in the file at the line where it starts $db_url....etc... It says to replace it with something else. The problem is that DP does not appear to have that line where it starts $db_url. It has the following and I made the changes according to the MySQL database information. This is sample user and passwords but this is what it looks like.
* Database configuration format:
* $databases['default']['default'] = array(
* 'driver' => 'mysql',
* 'database' => 'bnusygp4y4',
* 'username' => 'bnusygp4y4',
* 'password' => 'yjJFUPv4iQ',
* 'host' => 'xyzwwwwwwwww@122fff ',
* 'prefix' => '',
I made the changes with the proper information but I am getting the following error when I go to he domain. PDOException: SQLSTATE[HY000]  Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in lock_may_be_available() (line 167 of /home/content/68/9341868/html/includes/lock.inc).
Any suggestions as to what I am doing wrong?