Tuesday, June 20, 2017

MySQL on Ubuntu 16.04

우분투 16.04에 MySQL 최신버전 설치하기

  • 참고 사이트: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
  • 설치 방법:
$ sudo apt-get update
$ sudo apt-get install mysql-server
$ sudo mysql_secure_installation

  • 설치 확인(MySQL은 설치되면 자동으로 시작된다.)
    • 방법1: 
$ systemctl status mysql.service
    • 방법2:
$ /etc/init.d/mysql status
$ mysql -uroot -p -e'show databases'

  • 삭제방법
(optional) $ sudo apt-get remove dbconfig-mysql
$ sudo apt-get purge mysql*
$ sudo apt-get autoremove
$ sudo apt-get autoclean
  • lightweight GUI client
    • emma @ Ubuntu Software center
      • cf. HeidiSQL(Windows), Sequel Pro(MAC)

No comments:

Post a Comment

Windows 10 High DPI 에서 Java application의 Font 조절

Reference:  How do I run Java apps upscaled on a high-DPI display?  @superuser.com Summarize 1) Find java.exe you installed.  2) Righ...