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

Post a reply

Smilies
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: ติดตั้ง start/stop MySql server on Ubuntu

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

by mindphp » 21/10/2010 2:34 pm

# 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

Top