Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not sure what I need to do, if anything. Using CentOS, when I run service mysql stop, it stops MySQL.

On openSUSE studio, when I run the same command, it does not work.

share|improve this question

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 run the following commands:

# chkconfig --add mysql
# chkconfig mysql on

You'll then be able to manage mysql using the service command e.g.

service mysql start
service mysql stop
service mysql status

Hope this helps!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .