ubuntu 18.04 mysql 설치

sudo apt update

sudo apt install mysql-server

sudo mysql_secure_installation

sudo mysql_secure_installation

Check authentication method for MySQL users

#주석처리 #bind-address=127.0.0.0

vi /etc/mysql/mysql.conf.d/mysqld.cnf

ufw allow 연결 설정 Or IPtable Port open

Mysql WorkBench