Error - Warning: mysql_query(): supplied argument is not a valid MySQL-Link

RegisterLogin
Error - Warning: mysql_query(): supplied argument is not a valid MySQL-Link
Post Description: Error - Warning: mysql_query(): supplied argument is not a valid MySQL-Link
Tags: Error, -, Warning:, mysql_query():, supplied, argument, is, not, a, valid, MySQL-Link
This Post Was Posted On Feb 29, 2008 By braker #1101
The other day i was getting this error:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/web/forums/page.php on line 429

I tried to find out what the problem was. After researching how i can fix this error, i found the answer.

The problem was that i had given the the wrong username and database name when mysql script tried to connect to the database.

So basically this error means that your script cannot connect to the database. You have to make sure you don't have any typos and all the login information is correct like hostname, username, password, database name.

Hope this helps

Courtesy: www.webune.com Support
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Fri Dec 23, 2011 12:45 pm
Powered by: Webune Forums V3