[PHP-DB] Problem with creating parallel connections with mysql_connect

2006-01-18 Thread Aarno Syvänen
Hi List, decided to try non-permanent connections for now. So now I have: ? /* db.php */ $db_server=127.0.0.1; $db_user = asterisk; $db_pass = bozzo984; $db_db = bebbicell; $db_account_server=127.0.0.1; $db_account_user = asterisk; $db_account_pass = bozzo984; $db_account_db = asterisk;

Re: [PHP-DB] Problem with creating parallel connections with mysql_connect

2006-01-18 Thread David Robley
On Wed, 18 Jan 2006 19:51, Aarno Syvänen wrote: Hi List, decided to try non-permanent connections for now. So now I have: ? /* db.php */ $db_server=127.0.0.1; $db_user = asterisk; $db_pass = bozzo984; $db_db = bebbicell; $db_account_server=127.0.0.1; $db_account_user = asterisk;

Re: [PHP-DB] Problem with creating parallel connections with mysql_connect

2006-01-18 Thread Aarno Syvänen
I go following debug: got error when doing first connection resource id was Resource id #3 got error when selecting first database got error when doing second connection resource id was Resource id #4 got error when selecting second database the code was:

Re: [PHP-DB] Problem with creating parallel connections with mysql_connect

2006-01-18 Thread Bastien Koert
If no connection is made, there is no mysql error. You would need some custom error message output when the mysql_connect fails... Bastien From: Aarno Syvänen [EMAIL PROTECTED] To: David Robley [EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB] Problem with creating parallel