Cannot Connect to Database
-
I’m attempting to move my WordPress site to a basic hosting site on godaddy.com.
My first problem is extracting my files causes a 503 error. Second, when I try to connect to my database I run into some problems. For some reason the installer does not see cPanel as being installed on my host although it definitely is. Next the connection fails even though the information should all be correct.*** PHP Warning Message: mysqli_connect(): (28000/1045): Access denied for user ‘xxxxxxxx’@’localhost’ (using password: YES) (Code: 2, line 41 in /home/to4b0kdn6atw/public_html/dup-installer/classes/class.db.php)
INSTALLER ERROR:
*** PHP Fatal Error Message: Uncaught Error: Call to a member function options() on boolean in /home/to4b0kdn6atw/public_html/dup-installer/classes/class.db.php:45
Stack trace:
#0 /home/to4b0kdn6atw/public_html/dup-installer/ctrls/ctrl.s2.dbtest.php(162): DUPX_DB::connect(‘localhost’, ‘xxxxxxxxxxxx’, ‘xxxxxxxxxxx’, NULL, ‘3306’)
#1 /home/to4b0kdn6atw/public_html/dup-installer/ctrls/ctrl.s2.dbtest.php(121): DUPX_DBTest->r10All(Array)
#2 /home/to4b0kdn6atw/public_html/dup-installer/ctrls/ctrl.s2.dbtest.php(87): DUPX_DBTest->runBasic()
#3 /home/to4b0kdn6atw/public_html/dup-installer/ctrls/ctrl.s2.base.php(92): DUPX_DBTest->run()
#4 /home/to4b0kdn6atw/public_html/dup-installer/main.installer.php(196): require_once(‘/home/to4b0kdn6…’)
#5 {main}
thrown (Code: 1, line 45 in /home/to4b0kdn6atw/public_html/dup-installer/classes/class.db.php)
- The topic ‘Cannot Connect to Database’ is closed to new replies.