sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
sudo systemctl restart mysql
anda cukup perlu mencari
# 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
dan merubahnya menjadi
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 0.0.0.0
kemudian restart mysql
Komentar