Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 926 Bytes

File metadata and controls

38 lines (25 loc) · 926 Bytes

[Things in Mysql](http://ktgnair.github.io/Things In Mysql) / Check Port No / Check user privileges / Create new user and give privileges / Reset root password

Differnt Operations that can be done on MySQL to control it.

Start MySQL

INPUT:  
sudo service mysql start  

It will ask you for MySQL password just type it and you are good to go.

Stop MySQL

INPUT:  
sudo service mysql stop     

It will ask you for MySQL password just type it and you are good to go.

Restart MySQL

INPUT:  
sudo service mysql restart  

It will ask you for MySQL password just type it and you are good to go.

Status of MySQL

INPUT:  
sudo service mysql status