MySQL and FEDORA
Hi,
I am new using Linux and I do not know if this problem comes from mysql or linux. I am trying to run mysql in Linux Fedora core 11. I installed mysql but when I tried to log in mysql as a root with mysql -s root -p. I am getting this error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I checked mysql.sock and this file is empty. Do you have any suggestion? Thanks, |
Hi, welcome to LQ!
First, check which packages related to MySQL you installed: Code:
rpm -qa | grep -i mysql |
Quote:
|
Also, I think you meant
mysql -u root -p not -s |
Rocio911
1) how did you install mysql ? from yum and using the fedora rpm? or the mysql bin from the mysql web site? 2) have you set up a root account ??? ( i use phpMyAdmin) 3) is mysql running ? and is it a start up daemon or what ? 4) also fedora 11 is about to hit it's END OF LIFE in just over a month so in about 60 days or less -- there will NEVER be any updates to fedora 11 ever . please install the current fedora 12 or in about a month install fedora 13. |
Quote:
Code:
rpm -qa | grep mysql |
Quote:
Code:
su Code:
/etc/init.d/mysqld restart |
All times are GMT -5. The time now is 05:36 PM. |