Hey everybody,
I'm trying to install MySQL 5.0.2-alpha on my Red Hat Enterprise Verison 3 machine. Once I downloaded my source files I ran ./configure , then make and then make install with no errors.
My problem is:
When I try to run the following command:
/usr/local/mysql/bin/mysqld_safe &
I get the following:
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
050218 13:43:47 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe
After that I try to run this command:
/usr/local/mysql/bin//mysqladmin version
and get the following:
/usr/local/mysql/bin//mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
I do not have a /tmp/mysql.sock file.
I also do not have a /usr/local/mysql/var directory either.
Does anyone have any ideas?
Thanks in advance for your help!