mysql /etc/my.ini支持中文配置
2011-12-02 21:59
603 查看
etc/my.ini
[client]
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
default-character-set=utf8
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer_size = 384M
max_allowed_packet = 1M
table_open_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8
default-character-set=utf8
init_connect='SET NAMES utf8'
max_connections=2000
max_connect_errors=2000
skip-name-resolve
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
default-character-set=utf8
[myisamchk]
key_buffer_size = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
[client]
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
default-character-set=utf8
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer_size = 384M
max_allowed_packet = 1M
table_open_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8
default-character-set=utf8
init_connect='SET NAMES utf8'
max_connections=2000
max_connect_errors=2000
skip-name-resolve
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
default-character-set=utf8
[myisamchk]
key_buffer_size = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
相关文章推荐
- MySql优化之my.ini 中文配置详解
- MySql优化之InnoDB,4GB内存,多查询的my.ini中文配置方案详解
- Mysql配置文件my.ini详解
- MYSQL中的my.ini或my.cnf配置说明
- 修改mysql的my.ini配置文件存放位置
- mysql my.ini UTF-8配置 服务启动报1067错误
- MySQL优化配置文件my.ini(discuz论坛)
- MYSQL–my.cnf配置中文详解
- MySql my.ini 中文详细说明
- MySQL优化配置文件my.ini
- [转]MYSQL中的my.ini或my.cnf配置说明
- MySQL配置文件my.cnf参数优化和中文详解
- MySQL——配置文件(my.ini)
- Windows 下 MySql 5.7.20安装及data和my.ini文件的配置
- Mysql my.ini 配置文件详解
- MariaDB(Mysql分支)my.cnf配置文件中文注释版
- MySql优化之my-small.ini配置
- MySQL my.ini 配置文件详解
- mysql配置文件-my-innodb-heavy-4G.cnf中文注释
- mySQL优化 my.ini 配置说明