Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Connecting to mysql using DBI and a non-standard socket

by shiza (Hermit)
on Jul 05, 2005 at 20:58 UTC ( #472600=note: print w/ replies, xml ) Need Help??


in reply to Connecting to mysql using DBI and a non-standard socket

You could also symlink it:
ln -s /usr/kasenna/mysql/tmp/mysql.sock /var/lib/mysql/mysql.sock
May be a bit of a hack but it works. :)
Comment on Re: Connecting to mysql using DBI and a non-standard socket
Download Code
Replies are listed 'Best First'.
Re^2: Connecting to mysql using DBI and a non-standard socket
by gellyfish (Monsignor) on Jul 05, 2005 at 21:16 UTC

    The chances are that the reason that the mysqld uses that location in the first place is that the user it runs as does not have adequate permissions in /var/lib/mysql in the first place.

    /J\

      That is true. Although, I have experienced the same situation due to the fact that Fedora(Yum) still installs MySQL 3.23. That's a different issue though. :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2016-04-29 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.