P is for Practical | |
PerlMonks |
Re: How do I specify the MySQL socket file?by chanakya (Friar) |
on Feb 17, 2005 at 05:59 UTC ( [id://431846]=note: print w/replies, xml ) | Need Help?? |
Do you have a my.cnf file in /etc ..?? what does the "socket" value in the file say.. If you do not have a /etc/my.cnf create one with the following values. This is the sample configuration on my machine Once you write the file, restart Mysql and try connecting to the Database using If the above command succeeds then you need not worry about connecting to Mysql using Perl Hope this helps Good Luck!
In Section
Seekers of Perl Wisdom
|
|