MySQL error

J G rhct95051 at yahoo.com
Tue Nov 9 00:50:17 UTC 2004


Hi all,

just installed Mysql binaries.

When i try to start Mysql using the mysql_safe
command, i get the message:

[root at palrhsrv /]# /usr/bin/mysqld_safe &
[1] 18547
[root at palrhsrv /]# Starting mysqld daemon with
databases from /var/lib/mysql
STOPPING server from pid file
/var/lib/mysql/palrhsrv.pid
041108 16:44:48  mysqld ended
 
 
[1]+  Done                    /usr/bin/mysqld_safe

************************************

then, when I start the command:

[root at palrhsrv bin]# ./mysqladmin create testDB
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!


I looked under the var/lib/mysql and obviously the
mysql.sock does not exist.

I changed permissions under /var/lib/mysql to chown -R
mysql and chrgp to daemon.
Still getting the same errors.

any help?

thanks



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 




More information about the redhat-list mailing list