Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 447 Bytes

File metadata and controls

37 lines (31 loc) · 447 Bytes

Remote Access

Configuration

MySQL Configuration File Locations

Ubuntu/Debian

/etc/mysql/my.cnf

CentOS/RHEL

/etc/my.cnf

Edit MySQL config

sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

Find:

bind-address = 127.0.0.1

Change to:

bind-address = 0.0.0.0

Restart MySQL:

sudo systemctl restart mysql

Open firewall port

sudo ufw allow 3306