1 2 3 4 5 6 7
[client] socket=/run/mysql/mysql.sock [mysqld] log-error=/var/log/mysql/mysqld.log port=3306 bind-address = 127.0.0.1,10.0.0.31 datadir = /var/lib/mysql