Q) How could you manage MySQL from command prompt?
MySql start/ restart/ stop commands
- On Linux start/stop/restart from the command line:
sudo /etc/init.d/mysql start;
sudo /etc/init.d/mysql stop;
sudo /etc/init.d/mysql restart;
Some Linux flavours offer the service command too
service mysqld start
service mysqld stop
service mysqld restart
or
service mysql start
service mysql stop
service mysql restart
