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)
Hoe can I get
: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 connect (in mysqlcc) I get the following
error
message:
[MySQL] ERROR
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
: 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
--
MySQL General Mailing List
For list
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]
.
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 through socket
'/tmp/mysql.sock' (61)
It appears that the server is not running...any
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 connect to local
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 help me to solve this problem
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
}
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
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
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
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 Private, Free E-mail from
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 this error
please send me the reason for it and also
how do i overcome this problem
regards
, 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:
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
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:
Same thing happens to me,
i just use bin/safe_mysqld --user=root
to start to server so
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, please check:
http://www.mysql.com
2002: Can't connect to local MySQL server
through socket
'/tmp/mysql.sock' (2)
Server: Mac OS X 10.1.3
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http
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' (2)
Is the socket? It should show up in a directory listing of /tmp - if it
isn't there then mysqld isn't running
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@php4win:~ su
Password
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 MySQL server through socket
'/var
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)
-
22 matches
Mail list logo