Can't connect to mysql?
Need some help getting started with mysql, My operating system is Fedore core 5 and I'm
new at it. Well after down loading mysql, tried to sart it on terminal as root and used these commands mysql -u root -p that got me this error message;
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
Then tried this mysqld_safe & and then
[1] 7100
[root@localhost soranno]# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060501 16:08:37 mysqld ended
[1]+ Done mysqld_safe
Where do I go from here?:banghead:
new at it. Well after down loading mysql, tried to sart it on terminal as root and used these commands mysql -u root -p that got me this error message;
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
Then tried this mysqld_safe & and then
[1] 7100
[root@localhost soranno]# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060501 16:08:37 mysqld ended
[1]+ Done mysqld_safe
Where do I go from here?:banghead:
0
Comments
as root:
/sbin/service mysqld start
Then try connecting again.