Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Question? c: (http://www.mysidiaadoptables.com/forum/showthread.php?t=3963)

Aasixx 01-18-2013 04:33 PM

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:

Nemesis 01-18-2013 09:07 PM

whoa! if your moving your site your not supposed to reinstall it :ohnoes:

Aasixx 01-19-2013 10:19 AM

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'

5404 01-19-2013 03:22 PM

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?)

Hall of Famer 01-20-2013 04:30 AM

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.