Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have installed ubuntu 13.10 desktop x64 on my laptop. After the installation I installed MySQL Server sudo apt-get install mysql-server mysql-client

Installation wass successful but I noticed the following issues with MySQL. Using sudo service mysql start and sudo service mysql stop the database starts and stops correctly. But when I use sudo /etc/init.d/mysql stop the database service stops and than it gets spawn again automatically without any user input. Using ps -A | grep mysql I noticed that the spawn gets a new PID.

Have you noticed this issue with mysql. For the same reason mysqladmin -u root -p shutdown does the same thing as sudo /etc/init.d/mysql stop

I need to use mysqladmin -u root -p shutdown command as I would like to integrate MySQL with Netbeans 7.4

I would appreciate your help.

share|improve this question
Not at all a solution but using sudo service mysql stop is actually the correct way to stop the service. Why not use that? –  i08in Jan 3 '14 at 15:48
I know its the proper way to start and stop a service. But I need to integrate MySQL with Netbeans 7.4. It gives you the option to start and stop the database within the IDE and I'm unable to do so. –  Christopher Ebejer Jan 3 '14 at 15:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.