Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: perl uses wrong socket to connect to mysql

by tantarbobus (Hermit)
on Apr 17, 2005 at 17:06 UTC ( #448655=note: print w/replies, xml ) Need Help??


in reply to perl uses wrong socket to connect to mysql

You can appened "mysql_read_default_group=$somegroup" to your connect string, and then DBD::mysql should read your my.conf.

my.conf is not being read because the mysql client libraries that DBD::mysql uses don't seem to want to read the my.conf file unless read_default_group is specified. A future version of DBD::mysql will default to "mysql_read_default_group=dbd_mysql" if no other group is specified.

  • Comment on Re: perl uses wrong socket to connect to mysql

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://448655]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2019-10-20 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?