Results 1 to 5 of 5
I have Suse 10.1 and mysql is installed but when i type mysql into the command line i get the following respones:
mysql
ERROR 2002 (HY000): Can't connect to local ...
- 10-11-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 59
Having trouble using mysql
I have Suse 10.1 and mysql is installed but when i type mysql into the command line i get the following respones:
mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
-If anyone could help me that would be greatly appreciated...
Thanks,
Tom
- 10-11-2006 #2
Try doing,
Code:#/etc/init.d/mysql start
- 10-11-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 59
Thanks daark.child it worked
Tom
- 10-11-2006 #4Cool. To stop the mysql service, you would do
Originally Posted by wickster
and to restartCode:#/etc/init.d/mysql stop
The syntax applies to all Suse services and not just mysql.Code:#/etc/init.d/mysql restart
- 10-27-2006 #5Just Joined!
- Join Date
- Oct 2006
- Posts
- 4
yep, but correct me if I'm wrong - I think that is only a temporary fix and will need to be done every time you reboot your machine unless you redo your setup and configure mysql to start on boot.


Reply With Quote
