Skip to content

Instantly share code, notes, and snippets.

@Front-line-dev
Last active September 14, 2020 07:40
Show Gist options
  • Save Front-line-dev/a898d48746b3a123c487c370efe5d6f3 to your computer and use it in GitHub Desktop.
Save Front-line-dev/a898d48746b3a123c487c370efe5d6f3 to your computer and use it in GitHub Desktop.
네이버 클라우드 mysql 설치 및 접속

우분투 16 기준

ssh로 접속

apt-get update

apt install mysql-server

ftp 혹은 ssh로 접속

/etc/mysql/mysql.conf.d/mysql.cnf 열기

bind-address 를 #로 주석 처리후 저장

service mysql restart

ssh로 mysql 접속

mysql -u root -p

mysql 설치 때 입력했던 패스워드 입력

mysql 아이디와 패스워드, 접속하려는 클라이언트 아이피 입력

GRANT ALL PRIVILEGES ON *.* TO '아이디'@'아이피' IDENTIFIED BY '패스워드';

클라이언트에서 HeidiSQL로 접속

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment