gando Posted March 17, 2007 Share Posted March 17, 2007 Hi All Ive had someone upload my php scripts etc.. the site work but I always get the msg as below Warning: mysql_connect() [function.mysql-connect]: User findmera has already more than 'max_user_connections' active connections Whats the best way to fix this? Im a newbie at this and dont know much about scripting yet Link to comment https://forums.phpfreaks.com/topic/43089-problem/ Share on other sites More sharing options...
artacus Posted March 17, 2007 Share Posted March 17, 2007 Use phpmyadmin and look at your processes. If you've got a bunch of processes that are sleeping then your scripts are connecting, getting hung up and never disconnecting. If you've really got more connections that your server can handle, (which I doubt) then you'll have to either increase the max connections or add another server. Link to comment https://forums.phpfreaks.com/topic/43089-problem/#findComment-209312 Share on other sites More sharing options...
gando Posted March 17, 2007 Author Share Posted March 17, 2007 thanks How do I ensure they disconnect to stop this error from happening? Link to comment https://forums.phpfreaks.com/topic/43089-problem/#findComment-209325 Share on other sites More sharing options...
shaunrigby Posted March 17, 2007 Share Posted March 17, 2007 use mysql_close() in your scrips when you have finished with your connection Link to comment https://forums.phpfreaks.com/topic/43089-problem/#findComment-209386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.