mysql help
i have FC7 and when i try to run mysql it is showing the the following message :
#mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) pliz guide me someone,i m new in linux, but am a great fan of the logic of the open source concept : the linux. thank you. |
The mysql program is the client. You need to start the mysqld server before you use it. I think that "sudo /sbin/service mysql start" will start it. You can also use "sudo /sbin/chkconfig mysql 35" to configure the /init.d/ startup scripts to start it automatically when booting into runlevels 3 and 5.
|
Hi,
Mysql server is not running in your machine. run this command as root user /sbin/service mysqld start then try to connect it |
Moved: This thread is more suitable in Linux-Server and has been moved accordingly to help your thread/question get the exposure it deserves.
|
thanks you very much.
Quote:
|
All times are GMT -5. The time now is 03:55 AM. |