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
>
Sent: Monday, July 19, 2004 12:46 PM
Subject: ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
> Hello! I'm new to MySQl and I have sevral problems to get the Mysql-server
> going.
> First of all, when trying to c
Hello! I'm new to MySQl and I have sevral problems to get the Mysql-server
going.
First of all, when trying to connect (in mysqlcc) I get the following error
message:
[MySQL] ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
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]
d:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/
mysql/mysql.sock' (2)
I checked the directory '/var/lib/mysql/' and there is no such file. How
should I generate one? The server is just a localhost if this has any impact.
Regards Sami
--
e.
> [Computer:/usr/local/mysql] mark% bg
> bg: No current job.
>
> Instructions state that I should now be able to connect to MySQL server,
> e.g. by running
>
> [Computer:/usr/local/mysql] mark% /usr/local/mysql/bin/mysql
> ERROR 2002: Can't connect to local MySQL server
databases from /usr/local/mysql/data
030707 12:31:53 mysqld ended
[Computer:/usr/local/mysql] mark% bg
bg: No current job.
Instructions state that I should now be able to connect to MySQL server,
e.g. by running
[Computer:/usr/local/mysql] mark% /usr/local/mysql/bin/mysql
ERROR 2002: Can't c
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
I use MDK 8.2 and MySQL 4.0.13
i found this error
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
Can anyone
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
Hello Friends,
I have installed mysql version 3.23.52 binary file. The installation
went well without any errors but when I type mysql in the command prompt
I get this error. Can someone help me fix this. Am using red hat 6.2 version
Rgds
Edwin
---
an't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
> why do i get an erro like
> "ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)"
>
> what could be wrong with th
why do i get an erro like
"ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)"
what could be wrong with this error
please send me the reason for it and also
how do i overcome this problem
regards
samratsam
Get Your
;[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-root user, such as mysql.
> --- Mike Yrabedra <[EMAIL PROTECTED]> wrote:
> >
> > What would cause this error to occur all of a
> > sudden?
> >
> > ERROR 2002: Can't connect to local MySQL server
> > through socket
> > '/tmp/mysql.sock'
cur all of a
> sudden?
>
> ERROR 2002: Can't connect to local MySQL server
> through socket
> '/tmp/mysql.sock' (2)
>
> Server: Mac OS X 10.1.3
>
>
>
>
>
>
> >
>
-
What would cause this error to occur all of a sudden?
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Server: Mac OS X 10.1.3
> -
> Before posting,
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.
PROTECTED]
Subject: ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)
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 MySQ
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...
andreaso@
23 matches
Mail list logo