create user [usrname]@[remote_addr] identified by [passowrd];
sudo vi /etc/mysql/mysqld/mysqld.conf.d/mysqld.cnf
아래와 같은 내용이 들어있는 설정파일에서,
[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1