|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Connecting to remote db with DBIby ferreira (Chaplain) |
| on Mar 23, 2007 at 20:02 UTC ( #606338=note: print w/ replies, xml ) | Need Help?? |
|
It looks like you're making a mistake when building the DSN: constrast yours ("DBI:mysql:$db;host=$host") and the one provided in the documentation of DBD::mysql:
You're missing the "database=" before $db.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||