Sunday, February 21, 2010

How to start/install Mysql in Ubuntu

# 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

No comments:

Post a Comment