View Single Post
  #1  
Old 06-19-2010, 04:53 PM
SNK2713 SNK2713 is offline
Member
 
Join Date: Jun 2010
Posts: 3
Credits: 706
SNK2713
Default Cannot Connect to MySQL Error

Quote:
[size=x-small]1. Upload all of the files inside of the "adoptables" folder to somewhere on your website, either to the root of your domain or to a subfolder.
You must use a FTP program, such as FireFTP, to upload the files.

2. CHMOD the following files and directories:

inc > config.php to 777
picuploads > gif to 777
picuploads > jpg to 777

3. Create a new MySQL database

4. Go to yoursite.com/folder/install/index.php where yoursite.com is the name of your site and folder is where you uploaded the adoptables files.
Going here will launch the automated installer which will guide you through the rest of the setup process.[/size]
I followed these instructions to install the Rusnak PHP Adoptable script on 000webhost, but when I proceeded to complete the last step I received the following error:

Quote:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a1916460/public_html/adoptables/inc/functions.php on line 13
I figure it means that it can't find and connect to the MySQL database I created, but I'm not sure how to fix that.
Thank you in advance for any assistance.
Reply With Quote