How to restart MySQL?
Problem
I am running MySQL 5.1.54 and installed it on Ubuntu through the terminal using the command I changed the file and would like to stop and then start the database. I've tried the following My question is how do I know that the database is stopped? When I run the above command, followed by I can log right back into the database. Shouldn't it tell me that the database is not running? EDIT: I've also tried and then I get the following output Does the above output mean that MySQL has been shut down? If I run I can still log into MySQL.
Error Output
sudo apt-get install mysql-server
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to restart MySQL?
You should really use the Sys-V init scripts located in . Start: Stop: Restart / reload configs: Check run status:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix