Guest mtf169 Posted November 15, 2002 Report Share Posted November 15, 2002 I get the following error anytime I try and login into mysql through the console: Error 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) At first I checked to see if mysql was even running. According to the drakconf services panel it wasn't so I started it up and got the same exact error. Any help on what I've got configured incorrectly? Thanks. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted November 15, 2002 Report Share Posted November 15, 2002 This is a general suggestion. Get webmin and use it to view your mysql status and databases. You can urpmi webmin to install it. It's possibly you think you have it running and its not.. Otherwise, have you tried su to root and then type mysql? Quote Link to comment Share on other sites More sharing options...
Guest mtf169 Posted November 15, 2002 Report Share Posted November 15, 2002 Yeah, I had tried webmin and made sure it was running. Still didn't work, so I tried uninstalling mysql through webmin and then reinstalled mysql through the drakconf. It worked! I don't know what went wrong during installation, but everything seems in order now. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
Guest pbooker Posted June 2, 2004 Report Share Posted June 2, 2004 Yeah, I had tried webmin and made sure it was running. Still didn't work, so I tried uninstalling mysql through webmin and then reinstalled mysql through the drakconf. It worked! I don't know what went wrong during installation, but everything seems in order now. Thanks for the help. Sorry to sound like such a newbie - but how, in webmin, did you uninstall mysql? I'm getting the same error as you and would love to fix it! :) Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted June 2, 2004 Report Share Posted June 2, 2004 This information is pretty old so you shouldn't do this.. You can uninstall MYSQL but first.. Learn about software updates.. You need to learn how to setup your sources so you can update properly. Afterwards, your error may go away. Topics to look for are software updates urpmi easyurpmi Quote Link to comment Share on other sites More sharing options...
Guest pbooker Posted June 2, 2004 Report Share Posted June 2, 2004 Thanks! I'll take a look around some more. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.