LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql wont stop (https://www.linuxquestions.org/questions/linux-software-2/mysql-wont-stop-58507/)

Zac2003 05-06-2003 10:53 PM

mysql wont stop
 
I keep killing mysql and it keeps restarting

any ideas?

Code:

bash-2.05a# ps aux | grep mysql
mysql    2605  0.0  0.0 11984 1796 pts/0    S    19:32  0:00 /usr/local/mysql/
mysql    2607  0.0  0.0 11984 1796 pts/0    S    19:32  0:00 /usr/local/mysql/
mysql    2608  0.0  0.0 11984 1796 pts/0    S    19:32  0:00 /usr/local/mysql/
root      2613  0.0  0.0  1760  588 pts/0    S    19:34  0:00 grep mysql
bash-2.05a#

bash-2.05a# killall -9 mysql
mysql: no process killed
bash-2.05a#
bash-2.05a# killall -9 mysqld
./safe_mysqld: line 280:  2605 Killed                  $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1
bash-2.05a#
Number of processes running now: 0
030505 19:35:14  mysqld restarted

bash-2.05a#


Tinkster 05-06-2003 11:08 PM

Which distro, by which means is it being started?

Cheers,
Tink

Zac2003 05-06-2003 11:13 PM

Quote:

Originally posted by Tinkster
Which distro, by which means is it being started?

Cheers,
Tink

its a server in cali its on redhat, and its startingby

cd /usr/local/mysql/bin

./safe_mysqld &

Tinkster 05-06-2003 11:16 PM

You're saying that you always start the
service manually after a reboot? Or does
it by any chance get started (automagically
restarted?) by xinetd?

Cheers,
Tink

Zac2003 05-06-2003 11:30 PM

Quote:

Originally posted by Tinkster
You're saying that you always start the
service manually after a reboot? Or does
it by any chance get started (automagically
restarted?) by xinetd?

Cheers,
Tink

No i start it after it reboots

i just installed it earlier today

Tinkster 05-06-2003 11:35 PM

I see ... well, in this case:
look at the entire output from ps -Af
beginning at the end, and look for
a process that is started from your
mysql directory, other than the mysql
and mysqld :)

CHeers,
Tink

P.S.: I don't use MySQL (PostgreSQL user here ;})
so I can't check it for you...


All times are GMT -5. The time now is 10:50 PM.