Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36127

Can't start MySQL

$
0
0
Hi,

I have install MySQL serve in Fedora 16 32 bi distro that I have on my pc, but I can't start MySQL from command line. Can you please help? Thanks.

---------- Post added at 08:52 AM ---------- Previous post was at 07:10 AM ----------

Code:

[root@localhost john]# rpm -qa mysql
mysql-5.5.25a-1.fc16.i686

[root@localhost john]# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


[root@localhost john]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


[root@localhost john]# mysql -h localhost -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

[root@localhost john]# hostname
localhost.localdomain

[root@localhost john]# mysql -h localhost.localdomain -u root -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost.localdomain' (111)
[root@localhost john]#


Viewing all articles
Browse latest Browse all 36127

Trending Articles