Hi, I have the following permission:
#ls -l  /var/lib/
drwxr-xr-x   4 mysql root .. mysql

.. in the mail.err:
/usr/sbin/mysqld: Cant't open file: 'host:MYI'. (errno: 142)
Fatal error: Can't open privilege tables: File 
'/usr/share/mysql/charsets/?.conf' not found (Errcode: 2)

and:
#ls -l  /var/lib/mysql/mysql/host.MYI
-rw------ 1 mysql root

..sorry but the message correct is:

error: Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock (2)'
Check that mysql is running and that the socket: '/var/lib/mysql/mysql.sock' 
exists !

..and I have tried to create mysql.sock but I don't have good result.
What I can to do for to resolve my problem ??
thanks.
Salvatore.

----- Original Message ----- 
From: "sasa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 14, 2004 12:41 PM
Subject: No connect to mysql


Hi, I have a problem with mysql 4.0.22 on fedora core 2.
..when I try:

#/usr/bin/mysqladmin -u root password 'xxxx'
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: Can't connect to local MySQL server through socket '/var/lib/mysql.sock 
(2)'
Check that mysql is running and that the socket: '/var/lib/mysql.sock' exists !

.. the file mysql.sock not exists but I can to resolve ?
.. thanks and sorry for my banal question.
Salvatore.




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to