more useful options | |
PerlMonks |
Re: How do I direct DBI::mysql to a particular mysql instanceby pc88mxer (Vicar) |
on Jul 18, 2008 at 21:26 UTC ( [id://698742]=note: print w/replies, xml ) | Need Help?? |
When you run:
you are accessing mysql through the Unix domain socket (i.e. /var/run/mysqld/mysqld.sock), not a TCP socket (i.e. port 3306). Here's how to connect in each of these cases: For more details, see the DBD::mysql documentation.
In Section
Seekers of Perl Wisdom
|
|