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] Socket error when connecting to MySQL
- Date: Thu, 13 Jul 2006 18:03:32 +0900
- From: Dave M G <martin@example.com>
- Subject: Re: [tlug] Socket error when connecting to MySQL
- References: <44B5D6E2.3020508@example.com> <d8fcc0800607122228v37fc1178sc95399e31d5d3e10@example.com>
- User-agent: Thunderbird 1.5.0.4 (X11/20060615)
Josh, Thank you for replying.If Zend Studio is trying to connect to MySQL through /tmp/mysql.sock, and your MySQL config file sets the socket up on /var/lib/mysql/mysql.sock, that ain't ever gonna work. You need to either reconfigure Zend Studio to connect to /var/lib/mysql/mysql.sock, or configure MySQL to listen on /tmp/mysql.sock.That certainly makes more sense than what I was doing.I also realized, when I went back to re-edit my /etc/mysql/my.conf file was that I also needed to edit the [mysqld] section, not just the [client] section.I did this, and it worked, and I'm happy about that.But I'm a little concerned about configuring my MySQL server configuration to meet the needs of one application. Zend Studio was the only program that complained, and everything else was working fine.I would have rather edited Zend Studio to conform to my MySQL server, but I couldn't find any configuration options to accomplish that.Do you think having edited the my.cnf file is going to come back and haunt me later?-- Dave M G
- Follow-Ups:
- Re: [tlug] Socket error when connecting to MySQL
- From: Josh Glover
- References:
- [tlug] Socket error when connecting to MySQL
- From: Dave M G
- Re: [tlug] Socket error when connecting to MySQL
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: [tlug] Call for TLUG presenters for 2006-07-29 meeting
- Next by Date: Re: [tlug] Call for TLUG presenters for 2006-07-29 meeting
- Previous by thread: Re: [tlug] Socket error when connecting to MySQL
- Next by thread: Re: [tlug] Socket error when connecting to MySQL
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links