额。。。
这样改不对
这是我的配置文件 你在看看吧
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
bind-address = 192.168.1.11
default-storage-engine = innodb
innodb_file_per_table
collation-server=utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8