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
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
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]
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
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
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
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
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
;[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)
>
>
>
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:
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.
> ---
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?
>
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
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
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
15 matches
Mail list logo