Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] MySQL behaving strangely
- Date: Mon, 29 Sep 2008 01:35:35 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] MySQL behaving strangely
- References: <48CF9C78.4050204@articlass.org> <48D1F559.4090909@articlass.org> <48D22BA8.4000308@stoicviking.net> <200809182302.45493.fcartegnie@free.fr> <48D274FA.2010805@articlass.org> <48DC3DC6.8060406@articlass.org>
- User-agent: Mutt/1.5.17 (2007-11-01)
On 2008-09-26 10:41 +0900 (Fri), Dave M G wrote: > I figured I would edit /etc/mysql/my.cnf so that it said: > socket = /tmp/mysql.sock > > ... in all the relevant places. That should eliminate the need for setting > up a symlink every time, right? > > Turns out, not so. When the /etc/mysql/my.cnf is edited to use > /tmp/mysql.sock directly, MySQL won't connect at all. I get all sorts of > "Can't connect to database" errors in just about every program that uses > MySQL. It sounds to me as if you edited the client part of that file without also changing the server part, or didn't restart the server. I'm not sure exactly how to configure the MySQL server to use a specific socket, but you might find it easier to solve your problem by setting up the client poritions of /etc/mysql/my.cnf with socket=/var/whatever-path-it-was, and thus defaulting all of your clients to use the path for which the server is configured. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- References:
- [tlug] MySQL behaving strangely
- From: Dave M G
- Re: [tlug] MySQL behaving strangely
- From: Dave M G
- Re: [tlug] MySQL behaving strangely
- From: Birkir A. Barkarson
- Re: [tlug] MySQL behaving strangely
- From: Francois Cartegnie
- Re: [tlug] MySQL behaving strangely
- From: Dave M G
- Re: [tlug] MySQL behaving strangely
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: WiMax in Japan: only as backbone for YOZAN? (was Re: [tlug] Nokia N810 and WiMAX in Japan)
- Next by Date: Re: [tlug] MySQL behaving strangely
- Previous by thread: Re: [tlug] MySQL behaving strangely
- Next by thread: Re: [tlug] MySQL behaving strangely
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links