Jump to content

Archived

This topic is now archived and is closed to further replies.

snorky

Can't get MySQL running

Recommended Posts

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\"

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.