start/stop mysql on ubuntu server (linux)

1)Install MySql database: sudo apt-get install mysql-server

2) Start MySql server: /etc/init.d/mysql start

3) Stop MySql server: /etc/init.d/mysql stop

4) Restart MySql server: /etc/init.d/mysql restart

5)Check the status of  MySql server: /etc/init.d/mysql status

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s