mhearse has asked for the wisdom of the Perl Monks concerning the following question:
I receive identical errors from several host running various version of Perl:use DBI; my $dbh = DBI->connect( 'dbi:mysql:tickets@webhost.mydomain.org:3306', 'someuser', 'somepass', { RaiseError => 1, AutoCommit => 1 } );
I know the server is configured properly. Port 3306 is open to all hosts on my LAN. I can also access and administer the database with an ODBC GUI (using the same username and password from the script). I've seen many other posts, plus stuff on google, but I'm at a loss. Can someone help? Some extra info:DBI connect('tickets@webhost.mydomain.org:3306','someuser',...) failed +: Can't connect to MySQL server on '3306' (60) at test9 line 3
Thanks much.Server is MySQL 4.1.5 on BSD Client is Xp with actvestate 5.8.6, DBI DBI 1.48, DBD-mysql 2.9006
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remote connection to mysql
by eXile (Priest) on Apr 23, 2005 at 19:15 UTC | |
by mhearse (Chaplain) on Apr 23, 2005 at 19:36 UTC | |
by Joost (Canon) on Apr 23, 2005 at 20:50 UTC | |
|
Re: Remote connection to mysql
by bofh_of_oz (Hermit) on Apr 23, 2005 at 19:12 UTC | |
by BUU (Prior) on Apr 23, 2005 at 20:16 UTC | |
by bofh_of_oz (Hermit) on Apr 23, 2005 at 21:55 UTC |