How to Start/Stop MySql

Posted By on Feb 15, 2010 | 0 comments


# To install MySql database:

sudo apt-get install mysql-server

# To start MySql server:

/etc/init.d/mysql start

# To stop MySql server:

/etc/init.d/mysql stop

# To restart MySql server:

/etc/init.d/mysql restart

# To check the status of MySql server:

/etc/init.d/mysql status