Question? c:
So, I had saved all of my files on a backup folder and recently re-uploaded them, and now I'm trying to re-install the script. When I get to the configwrite.php part on the steps, it gives me this:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'albisi9_aasix'@'localhost' to database 'albisi9_adopts'' in /home/albisi9/public_html/install/configwrite.php:51 Stack trace: #0 /home/albisi9/public_html/install/configwrite.php(51): PDO->__construct('mysql:host=loca...', 'albisi9_aasix', passwordhere') #1 {main} thrown in /home/albisi9/public_html/install/configwrite.php on line 51 When I checked line 51 in configwrite.php, this is what it had there: $adopts = new PDO($dsn, $dbuser, $dbpass); Any ideas? :littlecfrown: |
whoa! if your moving your site your not supposed to reinstall it :ohnoes:
|
Ohh. I see. xD Makes sense. When I visit my site, it says this:
Could not connect to database, the following error has occurred: SQLSTATE[42000] [1044] Access denied for user 'albisi9_aasix'@'localhost' to database 'albisi9_adopts' |
Try to check (and eventually manually change) database info in /inc/config.php. :3 Because it seems that site has incorrect database connection information. (Are you sure it's localhost? Or maybe your database name changed since it's backup?)
|
Yeah, apparently the database information is incorrect. As 5404 suggested, you need to make sure the host is localhost first. If yes, you still have to check a following things. Is your database user/password correct? And does the database user have permissions to insert/update/delete/create/alter database tables?
|
All times are GMT -5. The time now is 09:32 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.