RE: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
I know you deleted /var/lib/mysql/mysql.sock. If you have to re-install, ensure that /var, /var/lib/, /var/lib/mysql have these permissions: drwxr-xr-x. I previously got the same error you did and corrected it by setting the above permissions. -Original Message- From: denis mettler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 8:03 AM To: [EMAIL PROTECTED] Subject: 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.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 - 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
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.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
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 isnt 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
maillists writes: 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 isnt a good idea to leave it that way. Egon --- URL: http://www.snb.at mailto:[EMAIL PROTECTED] --- http://www.grusskarte.at The only correct syntax for MySQL (server and client) is : [mysqld] socket=.. [client] socket=.. Regards, Sinisa __ _ _ ___ == MySQL AB /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED] /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus /*/ /*/ /*/\*\_/*/ \*\_/*/ |*| /*/^^^\*\^^^ /*/ \*\Developers Team - 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
Hi, i deleted mysql in /var and make re-install in /usr/local/ but received the same error. so i make an entry in the php3.ini [mysql] mysql.default_socket = /temp where i found the mysql.sock the error message is still there? Other ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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
RE: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
try: [mysql] mysql.default_socket = /temp/mysql.sock Cal http://www.calevans.com -Original Message- From: denis mettler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111) Hi, i deleted mysql in /var and make re-install in /usr/local/ but received the same error. so i make an entry in the php3.ini [mysql] mysql.default_socket = /temp where i found the mysql.sock the error message is still there? Other ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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 - 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
Hi, I did. but the problem is the same. regards denis On Tuesday 20 March 2001 17:45, you wrote: try: [mysql] mysql.default_socket = /temp/mysql.sock Cal http://www.calevans.com -Original Message- From: denis mettler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111) Hi, i deleted mysql in /var and make re-install in /usr/local/ but received the same error. so i make an entry in the php3.ini [mysql] mysql.default_socket = /temp where i found the mysql.sock the error message is still there? Other ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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 - 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
My question is that, why is he trying to connect through socket in /var/lib/mysql cause i have installes in /usr/local and the path to the mysql.sock is in php3.ini /temp/mysql.sock any ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
It is more likely /tmp/mysql.sock tmp has no 'e'. denis mettler wrote: Hi, I did. but the problem is the same. regards denis On Tuesday 20 March 2001 17:45, you wrote: try: [mysql] mysql.default_socket = /temp/mysql.sock Cal http://www.calevans.com -Original Message- From: denis mettler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111) Hi, i deleted mysql in /var and make re-install in /usr/local/ but received the same error. so i make an entry in the php3.ini [mysql] mysql.default_socket = /temp where i found the mysql.sock the error message is still there? Other ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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 - 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 - 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
Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111)
That was a mistake by myself. it was /tmp/ so, if i make ps i can see that there are 4 mysqld processes are running could this be the problem? And if i use: ps -aux|grep mysqld there is only a difference between the process id. nothing else? ideas??? Regards Denis On Tuesday 20 March 2001 18:25, you wrote: It is more likely /tmp/mysql.sock tmp has no 'e'. denis mettler wrote: Hi, I did. but the problem is the same. regards denis On Tuesday 20 March 2001 17:45, you wrote: try: [mysql] mysql.default_socket = /temp/mysql.sock Cal http://www.calevans.com -Original Message- From: denis mettler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: Re: Can't connect server through socket /var/lib/mysql/mysql.sock(111) Hi, i deleted mysql in /var and make re-install in /usr/local/ but received the same error. so i make an entry in the php3.ini [mysql] mysql.default_socket = /temp where i found the mysql.sock the error message is still there? Other ideas? regards denis On Tuesday 20 March 2001 14:52, you wrote: 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 isnt 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 - 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 - 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 - 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 - 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