Jump to content

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

Link to comment
https://forums.phpfreaks.com/topic/1086-cant-get-mysql-running/
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

Link to comment
https://forums.phpfreaks.com/topic/1086-cant-get-mysql-running/#findComment-3709
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.