in reply to Connecting to mysql using DBI and a non-standard socket
The option is mysql_socket so you will want something like:
If it's not described in your DBD::mysql manpage then it is likely that the feature isn't supported in the version you have.my $dbh = DBI->connect('dbi:mysql:database=nemo;mysql_socket=/usr/kase +nna/mysql/tmp/mysql.sock', 'nemo','password');
/J\
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Connecting to mysql using DBI and a non-standard socket
by logan (Curate) on Jul 06, 2005 at 15:37 UTC |
In Section
Seekers of Perl Wisdom