snorky Posted September 30, 2003 Share Posted September 30, 2003 Using a Sun Cobalt Raq3 running a modified Red Hat 6.2., kernel-2.2.16C32_III-2 I just installed MySQL. I had to reboot the web server (not related to MySQL) and the daemon won\'t start. 1. How to I make the daemon start automatically when the server boots up? 2. what is going wrong when I try to start it manually? Here\'s what the error log says: 030930 14:47:18 mysqld started 030930 14:47:18 Can\'t start server : Bind on unix socket: Permission denied 030930 14:47:18 Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ? 030930 14:47:18 Aborting 030930 14:47:18 /usr/sbin/mysqld: Shutdown Complete 030930 14:47:18 mysqld ended I\'m logged in as (Linux) root. If I try to start the daemon logged on as (Linux user) admin, then nothing is wriiten to the log; all errors appear on screen and say \"permission denied\" Link to comment https://forums.phpfreaks.com/topic/1086-cant-get-mysql-running/ Share on other sites More sharing options...
effigy Posted October 1, 2003 Share Posted October 1, 2003 1. /etc/rc.d/rc#.d # being the run level of the machine--which, if you are unsure, can be found in /etc/inittab. you should find the number within the first uncommented line. in the /etc/rc.d/rc#.d directory you place a symbolic link to the mysqld script in the /etc/init.d directory via ln -s source target. if redhat was prepacked with mysql you probably already have a file there and it is starting that version, which is your problem. try to see if it is already running by: ps -aef | grep mysql Link to comment https://forums.phpfreaks.com/topic/1086-cant-get-mysql-running/#findComment-3709 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.