Re: [PHP] Warning: Too many connections in xxx on line xx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Dan Morris declared Is there anyway to get rid of this message: Warning: Too many connections in xxx on line xx Can you show the code that connects? - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9AdECHpvrrTa6L5oRAmUkAJ0S/N7E8ifYqP4bm6mb38wWoZqJ+gCfRPVp dxNJezvEs5aav5Yw814axIE= =QH6x -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Warning: Too many connections in xxx on line xx
It's nothing to do with PHP. Raise your max_connections in your MySQL configuration file... ---John Holmes... -Original Message- From: Dan Morris [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 08, 2002 4:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Warning: Too many connections in xxx on line xx Is there anyway to get rid of this message: Warning: Too many connections in xxx on line xx line xx is a connection to a mysql database. In PHP.ini I have: [MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. mysql.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. mysql.max_links = -1 Can anyone suggest what I can do to get rid of this error? I am running on a Dell PowerEdge 350 with the max of 1GB of memory running RH7.2, php 4.1.1, and mysql 3.23.49a. Thanks. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Warning: Too many connections in xxx on line xx
The error message is coming from the connect line in: function MOpen() { global $db_address, $db_username, $db_password, $link; $link = mysql_connect($db_address,$db_username,$db_password); } Nick Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Dan Morris declared Is there anyway to get rid of this message: Warning: Too many connections in xxx on line xx Can you show the code that connects? - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9AdECHpvrrTa6L5oRAmUkAJ0S/N7E8ifYqP4bm6mb38wWoZqJ+gCfRPVp dxNJezvEs5aav5Yw814axIE= =QH6x -END PGP SIGNATURE- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php