![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			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?  
		
				__________________ 
		
		
		
		
		
	
	![]()  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			whoa! if your moving your site your not supposed to reinstall it  
		
		
		
		
		
		
			 
		
				__________________ 
		
		
		
		
		
	
	https://gemnode.com Free Hosting for Mysidia Adopt Sites Just join our forum and request your free hosting account  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			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' 
				__________________ 
		
		
		
		
		
	
	![]()  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			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?)
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
	 | 
||||
		
		
  | 
||||
| 
		
	
		
		
			
			 
			
			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?
		 
		
		
		
		
		
		
			
				__________________ 
		
		
		
		
		
	
	![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.  | 
![]()  | 
	
	
		
  | 
	
		
  | 
						What's New? | 
					
						What's Hot? | 
					
						What's Popular? |