How do I start/stop mysql server?

The best simple way is

service mysqld status
service mysqld stop
service mysqld start 

That would work for the most or mysql cases.
The another way is 

/etc/init.d/mysql restart
[sudo] password for xxxx: 
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.

댓글 남기기