Home > Archive > MySQL Server Forum > December 2005 > Where does mysql_config get its defaults from?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Where does mysql_config get its defaults from?
Dave Hammond

2005-12-17, 1:23 pm

I recently upgraded to mysql version 4.1.13 (server is SuSE linux 9.3)
and attempted to re-install the Perl DBD::mysql module, which kept
failing because it couldn't open /tmp/mysql.sock. After spending way
too much time trying to figure out why it was trying to find that
socket (my.cnf specifies /var/lib/mysql/mysql.sock), I finally realized
that mysql_config was pointing it there.

IMO, this makes no sense, since during the mysql build/install process,
the socket was created in /var/lib/mysql and (as stated above) my.cnf
specifies the location as /var/lib/mysql.

So, my question is: where does mysql_config get its defaults from and
why does it specify /tmp when the distribution installed the socket in
/var/lib/mysql.

Thanks in advance.

--Dave H.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com