[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
it looks like that:
[MySQL]
mysql.default_socket = </path/to/mysql/socket>
but I think thats not the problem. has your apache enough rights to access
the directory /var/lib/mysql ? if not edit /etc/group an add "apache" to
group "mysql".
-> "mysql:x:27:apache" or something similar, then make "chmod g+rx
/var/lib/mysql", this should work. if not try to make a "chmod o+rx
/var/lib/mysql", this should always work, but I think it isn´t a good idea
to leave it that way.
Egon
---
URL: http://www.snb.at
mailto:egon.barfuss@xxxxxx
---
http://www.grusskarte.at
denis mettler <taipan@xxxxxxxxxxxxx>
20.03.01 15:02
An: mysql@xxxxxxxxxxxxxxx
Kopie:
Thema: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
Hi,
I get the following message if i try to connect to server:
Can't connect server through socket /var/lib/mysql/mysql.sock(111)
Cal said, i should modify my php.ini and should give the exact definition
for
the mysql socket.
but i don't have an entry in the php.ini for mysql socket.
any ideas?
T.i.a.
Regards
denis
---------------------------------------------------------------------
Before posting, please check:
http://www.mys
ql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <mysql-thread68826@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-maillists=snb.at@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <mysql-thread68830@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
This mailing list archive is a service of Copilot Consulting.