Welcome to the Monastery | |
PerlMonks |
Re: Connecting to remote db with DBIby ferreira (Chaplain) |
on Mar 23, 2007 at 20:02 UTC ( [id://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
|
|