Newbie with MySQL Install problem
[Edit: I thought I fixed it, but shortly after it broke again]
After ~5 hours I've installed Apache 3 more hours and I've installed PHP Had loads of problems installing both of the above but finally got them to work :rolleyes: Now I am trying to install MySQL on Slackware 10. I have followed all the instructions on http://dev.mysql.com/doc/mysql/en/quick-install.html and even got this far: root@shaggy:/usr/local/mysql# /usr/bin/mysqld_safe & [1] 17620 root@shaggy:/usr/local/mysql# Starting mysqld daemon with databases from /usr/local/mysql/data I see in ps aux that it is running too, all appears well, but the problem is when I try to do step 6 of the tutorial, it says: mysqlshow: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) It's the same error given for when I try and give the accounts that were created passwords as well I've re-read the install guide and I don't see where I've gone wrong :( I have a small network and the computer that I'm installing MySQL on is 192.168.0.3, does that make any difference? :newbie: |
Socket file (mysql.sock in this case) is a special file. Copying it will not work, IMHO. Instead, run the mysqld_safe program with
/usr/bin/mysqld_safe --socket=/var/run/mysql/mysql.sock & Then the steps later should work. |
It broke again!
Oh well, I searched Google and this site for "Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)" Seems it's a very common problem but I've tried all the solutions I've read including the one above and it doesn't fix it. Bottom line is I gave up and deleted MySQL, then found that Apache was broken because I deleted MySQL, so I'm gunna delete everything in the morning and install Win98 to do the jobs I need. :) I don't have the patience to carry on like this and I wasted a whole day trying to get this stuff working. I do really hate following tutorials to the letter and then finding they don't work, and then you have to hunt around for the extra info you need to get it working. :rolleyes: |
This LAMP tutorial is very helpful in my opinion and I'd suggest you give it another shot. Good luck with it -- J.W.
|
All times are GMT -5. The time now is 08:59 PM. |