1 message in com.mysql.lists.perlproblem| From | Sent On | Attachments |
|---|---|---|
| Jorge Inti Benites Roche | 26 Dec 2000 04:57 |
| Subject: | problem![]() |
|---|---|
| From: | Jorge Inti Benites Roche (inti...@arnet.com.ar) |
| Date: | 12/26/2000 04:57:46 AM |
| List: | com.mysql.lists.perl |
I try to connect with a mysql database from a perl script and this message error
appear "too many conections"
but if i connect from command line it works ok.
this is the script code:
---------------------------------------------------------------------------------------------- $DBI_SOURCE = 'dbi:mysql:catalog:sql.radar.com.ar'; $DBI_USER = 'catalog'; $DBI_PASSWORD = 'pepe';
$dbh = DBI->connect($DBI_SOURCE, $DBI_USER, $DBI_PASSWORD) || die;
---------------------------------------------------------------------------------------------
And from command line:
------------------------------------------------------------------------ [root@anarky bin]# ./mysql -h sql.radar.com.ar Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 394040 to server version: 3.21.33b-log
Type 'help' for help.
mysql> show databases; +------------+ | Database | +------------+ | RadarPerl | | borrar | | busca | | catalog | | crawler | | forosradar | | mysql | | test | +------------+ 8 rows in set (0.25 sec)
mysql>
---------------------------------------------------------------------------
thanks!!!




