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:[EMAIL PROTECTED]
---
http://www.grusskarte.at
denis mettler <[EMAIL PROTECTED]>
20.03.01 15:02
An: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php