Page 1 of 1

PHP error

Posted: Mon May 03, 2010 1:13 pm
by innovativebliss
I am getting this error when I try to upload a pdf code to my website. I opened the code that it is referencing and tried to make a new user for the database but still wont work. Anyone know what it is saying?

Thanks,

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '216.247.255.141' (4) in /home/oakcreek/public_html/renestate/admin/uploadPDF.php on line 13

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/oakcreek/public_html/renestate/admin/uploadPDF.php on line 14
Could not select database

Re: PHP error

Posted: Mon May 03, 2010 2:04 pm
by mikosiko
well.. without see your code the only way to know what is happening is using this wonderful resource (Here)


:wink:

Re: PHP error

Posted: Mon May 03, 2010 4:40 pm
by minorDemocritus
The script is unable to connect to the mysql server on that IP address. Make sure you've provided the correct information to the mysql_connect() function.