설치

sudo apt-get install mysql-server mysql-client

sudo /etc/init.d/mysql start


삭제제

sudo /etc/init.d/mysql stop

sudo apt-get remove --purge mysql-server mysql-client

sudo netstat -tap | grep mysql


 sudo apt-get remove --purge mysql-server*

sudo apt-get remove --purge mysql-client*


패키지로 설치

 /opt> /sudo dpkg -i mysql-5.6.17-debian6.0-x86_64.deb


/opt/mysql/server-5.6$> sudo apt-get install libaio1






cp mysql.server /etc/init.d/mysql
ls /etc/init.d/mysql


update-rc.d mysql defaults


+ Recent posts