安装完mysql后, 要及得配置一下 /etc/mysql/my.cnf
- 配置字符编码为utf8
[client]default-character-set = utf8[mysqld]default-storage-engine = INNODBcharacter-set-server = utf8collation-server = utf8_general_ci
- 配置外网可以访问
bind_address = 0.0.0.0
本文共 272 字,大约阅读时间需要 1 分钟。
安装完mysql后, 要及得配置一下 /etc/mysql/my.cnf
[client]default-character-set = utf8[mysqld]default-storage-engine = INNODBcharacter-set-server = utf8collation-server = utf8_general_ci
bind_address = 0.0.0.0
转载于:https://www.cnblogs.com/forzhaokang/p/7966638.html