I have slackware 10.0 which I installed mysql on at the installation. I thought that I may start from scratch instead when it would not run (it ended just as I logged in every time) so I used pkgtool to remove it and got the source from mysql.com
Now I have done all steps in the readme-file and I tried to run mysqld_safe. I got the same thing here, it just ended.
Code:
root@garanka:/usr/local/mysql$ bin/mysqld_safe --user=mysql &
[1] 10681
Starting mysqld daemon with databases from /usr/local/mysql/data
041225 02:57:03 mysqld ended
So I used mysqld instead, got some errors and checked some thing. Here's the stuff:
Code:
root@garanka:/usr/local/mysql$ mysqld --user=mysql
041225 2:57:44 Warning: Asked for 196608 thread stack, but got 126976
041225 2:57:44 Can't start server : Bind on unix socket: No such file or directory
041225 2:57:44 Do you already have another mysqld server running on socket: /var/run/mysql/mysql.sock ?
041225 2:57:44 Aborting
041225 2:57:44 mysqld: Shutdown complete
root@garanka:/usr/local/mysql$ ps aux | grep mysql
root 10715 0.0 0.0 1676 588 pts/2 S+ 02:58 0:00 grep mysql
root@garanka:/usr/local/mysql$ ls -l /var/run/mysql/
ls: /var/run/mysql/: No such file or directory
I do not know what the first error about it getting some wrong number on the thread stack buton the third line it says something about running mysqld already, which I don't (I check with ps just in case). And also, the mysql.sock is not even in that place that the error shows, that place does not exist. I tried to make that directory but it gave the same error after that too.
So what to do now?