Re: ERROR 2002: Can't connect to local MySQL server through socket var/lib/mysql/mysql.sock' (2)

2004-07-19 Thread Laurent
On Monday 19 July 2004 12:12, charitha wrote: > Hi, You just check the entry in your /etc/my.cnf file where your .sock > file is configured my.conf says for server and client configuration: socket = /var/lib/mysql/mysql.sock So the path is correct > if it is not this path then change it and res

Re: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

2004-07-19 Thread Cemal Dalar
Take a look at this http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html Best Regards, Cemal Dalar a.k.a Jimmy System Administrator & Web Developer http://www.dalar.net - Original Message - From: "Laurent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 19, 20

RE: ERROR 2002: Can't connect to local MySQL server through socket

2004-03-15 Thread JR Bullington
You have to run the 'mysqld_safe &' command before you run 'mysql'. That creates the socket for you. J.R. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: ERROR 2002: Can't connect to local MySQL server through socket

2003-07-08 Thread Victoria Reznichenko
Mark Depenbrock <[EMAIL PROTECTED]> wrote: > I have installed a Mac OS X 'PKG' binary package on my OS version > 10.2.6 Mac. > > I have been instructed that after the installation I can start up MySQL > by running the following command lines: > > [Computer:/usr/local/mysql] mark% sudo ./bin/mys

Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

2002-11-15 Thread Edwin Raj
Vince LaMonica wrote: On Fri, 15 Nov 2002, Edwin Raj wrote: } [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password } 'simple' } /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed } error: 'Can't connect to local MySQL server through socket } '/tmp/mysql

Re: ERROR 2002: Can't connect to local MySQL server through socket'/tmp/mysql.sock' (111)

2002-11-14 Thread Vince LaMonica
On Fri, 15 Nov 2002, Edwin Raj wrote: } [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password } 'simple' } /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed } error: 'Can't connect to local MySQL server through socket } '/tmp/mysql.sock' (111)' } Check that

Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

2002-11-14 Thread Edwin Raj
If this could help to analyse the problem, when I try to create a password this is the message I get [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password 'simple' /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server

Re: ERROR 2002: Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock' (111)

2002-08-10 Thread Bhavin Vyas
mysql.sock file doesn't exist in the /var/lib/mysql directory. Stop and restart mysql server. Regards, Bhavin. - Original Message - From: "samratsam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 10, 2002 4:28 AM Subject: ERROR 2002: Can't connect to local MySQL serve

Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2002-04-02 Thread colin o
;[EMAIL PROTECTED]> > Cc: "Mike Yrabedra" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Tuesday, March 26, 2002 2:56 PM > Subject: Re: ERROR 2002: Can't connect to local > MySQL server through socket > '/tmp/mysql.sock' (2) > > >

Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2002-04-01 Thread Kathy Reyes
ROTECTED]> Cc: "Mike Yrabedra" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 2:56 PM Subject: Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) > > > On Tue, 26 Mar 2002, colin o wrote:

Re: ERROR 2002: Can't connect to local MySQL server through socket'/tmp/mysql.sock' (2)

2002-03-26 Thread andy thomas
On Tue, 26 Mar 2002, colin o wrote: > Same thing happens to me, > > i just use bin/safe_mysqld --user=root & > to start to server so that i can use mysql. > I don't know exactly why it happens though. > Possibly permissions?? It is better to run mysqld as a non-root user, such as mysql. > ---

Re: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

2002-03-26 Thread colin o
Same thing happens to me, i just use bin/safe_mysqld --user=root & to start to server so that i can use mysql. I don't know exactly why it happens though. Possibly permissions?? Colin --- Mike Yrabedra <[EMAIL PROTECTED]> wrote: > > What would cause this error to occur all of a > sudden? >

Re: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

2001-02-28 Thread andreas otto
Hi Gerald, > In order for andreaso to open mysql.sock, he needs search permission on > /var/lib/mysql. > chmod 775 /var/lib/mysql That was it! Thanks for helping me out ;-) Cheers, Andreas -- andreas otto london (uk) - B

Re: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

2001-02-28 Thread Gerald L. Clark
andreas otto wrote: > > Hi, > > Since SuSE 7.1 I experience the following problem using MySQL: > > andreaso@php4win:~ > mysql -u root -p > Enter password: > ERROR 2002: Can't connect to local MySQL server through socket >'/var/lib/mysql/mysql.sock' (13) > > Looks like I don't get a connection

RE: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

2001-02-28 Thread Rick Emery
I had the same problem. Ensure that /var has these permissions: drwxr-xr-x Ensure /lib is drwxr-xr-x Ensure /mysql is drwxr-xr-x That fixed it for me rick -Original Message- From: andreas otto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 6:11 AM To: [EMAIL PROTECTED