ubuntu 18.04 mysql 8.023 설치

sudo apt update

sudo apt install mysql-server

sudo mysql_secure_installation

sudo mysql_secure_installation

Check authentication method for MySQL users

host 가 % 일경우

#주석처리 #bind-address=127.0.0.0

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

ufw allow 연결 설정 Or IPtable Port open

Mysql WorkBench