Page 1 of 1

ติดตั้ง start/stop MySql server on Ubuntu

Posted: 21/10/2010 2:34 pm
by mindphp
# To install MySql database:

Code: Select all

sudo apt-get install mysql-server
# To start MySql server:

Code: Select all

/etc/init.d/mysql start
# To stop MySql server:

Code: Select all

/etc/init.d/mysql stop
# To restart MySql server:

Code: Select all

/etc/init.d/mysql restart
# เช็คสถานะของ MySql server:

Code: Select all

/etc/init.d/mysql status