Supplied Argument Is Not A Valid MySQL-Link
- Forums
- General Errors
- Supplied Argument Is Not A Valid MySQL-Link
This Page Contains information about Supplied Argument Is Not A Valid MySQL-Link By braker in category General Errors with 0 Replies. [2578], Last Updated: Tue Feb 07, 2023
braker
Sat Sep 23, 2006
0 Comments
1570 Visits
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