To set the default to UTF-8, you want to add the following to my.cnf [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8
14.6.2 Configuring InnoDB for Read-Only Operation 配置InnoDB只读操作 你可以查询InnoDB 表MySQL 数据目录是一个只读介质,通过启用 --innodb-read-only 配置选项在服务启动前 mysql> show variables like '%innodb-read-only%'; Empty set (0.00 sec) mysql> show variables like '%innodb_read_only%'; +