Results 1 to 1 of 1
Hi,
I have apache and php servers installed on my suse10.2 box. I try typing "mysql" in a terminal and it says:
Error 2002 (HY000): Can't connect to local MySQL ...
- 10-20-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 1
mysql 5.0.26-12 problems starting server and logging in
Hi,
I have apache and php servers installed on my suse10.2 box. I try typing "mysql" in a terminal and it says:
Error 2002 (HY000): Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock' (2)
when I try accessing the phpMyAdmin tool via my localhost webserver I get this message:
Error
MySQL said:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
I don't think the server has started because when I tried to create a new database I typed:
"mysqladmin create database new" it give me this message:
mysqladmin: connet 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 have checked var/lib/mysql/mysql.sock and it doesn't exist in that folder.
I then tried running the command:
mysqld start
and it says:
mysqld: Too many arguments (first extra is 'start').
I have read other forums and it says to type mysqld start to start the server....is that the same for openSUSE 10.2?
Please provide assistance on how to start the server / and or tackle this issue
thanks.


Reply With Quote