1 (edited by zc923 2004-04-07 14:58)

Topic: Mysql Help

Cause of a harddrive crash, I needed to reinstall Linux, so I decided to go with slackware. Did the full install. I have appache running, however, in the terminal window, when I type, "mysql start", I get this :"Can't connect to local MySQL server through socket '/var/run/mysql.sock' (2)". Downloaded the latest stable version of mysql, and ran "./configure", "make", then "make install". Yet when I try to start mysql, I get the same error.
After searching, I could not find any "mysql.sock" file.
Any suggestions?

Do, or do not.

2 (edited by Skye 2004-04-07 17:11)

Re: Mysql Help

Hmm, you configured it with ./configure and ran "make install" and it still won't work. Yep, I ran into this problem once before...You have to run 'mysqld_safe' before you run MySQL. That will create the sock for you. It should work pretty much instantly. Some more info on "mysqld_safe" can be found here.

Once you are done, well, start it. smile