I am developing a website and need to refresh data. Therefore MySQL must be stopped.
How can I stop the service?
When I look at control panel services it is started without stop or restart option.
On Windows
If you are using windows Open the Command Prompt and type
To Stop MySQL Service
net stop MySQL
To Start MySQL Service
net start MySQL.
On Linux
Expand|Select|Wrap|Line Numbers
# /etc/init.d/mysqld start
# /etc/init.d/mysqld stop
# /etc/init.d/mysqld restart
Fedora / Red Hat also support this:
Expand|Select|Wrap|Line Numbers
# service mysqld start
# service mysqld stop
# service mysqld restart
I know this answer is late but i hope it helps for some one.