View Full Version : what that error mean ?
max11
Thu 6th May '04, 7:13pm
Hi there
-------------
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/httpd/vhosts/my-domin/httpdocs/vb/includes/db_mysql.php on line 333
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/httpd/vhosts/my-domin/httpdocs/vb/includes/db_mysql.php on line 334
Thank's
Best Regard's
max11
Zachery
Thu 6th May '04, 7:25pm
Is that the whole error?
Steve Machol
Thu 6th May '04, 7:34pm
This error usually means either:
1. One or more of the following is wrong in your config.php file:
$dbusername
$dbpassword
$dbname
If you are unsure of what the appropriate values are then you will need to ask your web host.
2. Or that this db user is not assigned to that database or does not have permission to access MySQL to create or access a database. You may need to first manually create the database and assign the db user to it. Since each web host is different, if you do not know how to do this then contact your web host for help.
max11
Fri 7th May '04, 2:42am
Hi again
when i try to access the database of my fourm from phpMyAdmin ..
it's gave that error !!
--------
#1203 - User my-user@localhost has already more than 'max_user_connections' active connections
--------
!!
thank's for the help ..
Best Regard's
Steve Machol
Fri 7th May '04, 2:56am
The server has maxed out the number of MySQL connections it allows you to have. You can try turning persistent connections off in your config.php:
// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 0;But if you still have problems after that, all you can do is ask your host to raise the maximum number of connections they allow.
vBulletin® v3.8.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.