How to stop mysql server in Suse
Greetings,
currently i'm starting the database server using this command /usr/local/mysql/bin/mysqld_safe --user=mysql & However i want to stop the database, what commands do i need to enter? These are the files inside the /usr/local/mysql/bin Code:
LinuxCM:/usr/local/mysql/bin # ls |
One solution to your problem is to setup mysql as a service. In the mysql installation tarball, there should be a script called mysql-server (or something similar). Copy that to /etc/init.d and name it "mysql" (you may need to edit it, so that the mysql user is the same as the one you setup on your system and that the path to mysql is the same as the one on your system). After that do
Code:
#chkconfig --add mysql Code:
service mysql start |
All times are GMT -5. The time now is 09:37 AM. |