windows版mysql配置--my.ini
2016-05-06 15:13
633 查看
完整配置如下:
以上配置,设置数据库编码为utf8mb4,客户端服务端都是这个编码,以及表名区分大小写(具体可看lower_case_table_name)!
# power by phpStudy 2014 www.phpStudy.net 官网下载最新版 [client] port=3306 [mysql] [mysqld] port=3306 basedir="D:/soft/phpStudy/MySQL/" datadir="D:/soft/phpStudy/MySQL/data/" character-set-client-handshake=FALSE character-set-server=utf8mb4 collation-server=utf8mb4_general_ci default-storage-engine=InnoDB init_connect='set names utf8mb4' sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" max_connections=512 query_cache_size=0 table_cache=256 tmp_table_size=18M thread_cache_size=8 myisam_max_sort_file_size=64G myisam_sort_buffer_size=35M key_buffer_size=25M read_buffer_size=64K read_rnd_buffer_size=256K sort_buffer_size=256K innodb_additional_mem_pool_size=2M innodb_flush_log_at_trx_commit=1 innodb_log_buffer_size=1M innodb_buffer_pool_size=47M innodb_log_file_size=24M innodb_thread_concurrency=8 lower_case_table_names=0
以上配置,设置数据库编码为utf8mb4,客户端服务端都是这个编码,以及表名区分大小写(具体可看lower_case_table_name)!
相关文章推荐
- mysql更改最大打開文件數
- Ubuntu下mysql的安装以及简单的命令操作
- MySQL 子查询 EXISTS 和 NOT EXISTS
- MYSQL show engine等实用 command
- /usr/bin/ld: cannot find -lmysqlclient
- mysqldb模块
- MySQL学习4:Windows 64位操作系统下使用MySQL
- ubuntu安装mysql
- mysql建表属性不能为关键字
- MySQL Connector ODBC 安装出现 “找不到指定的模块xxx”
- MySql UDF 调用外部程序和系统命令
- MySQL使用udf调用系统程序
- mysqldump导出多个数据库
- mysqldump参数详细说明(转)
- mysql数据库---批处理与大文本/图片类型
- mysql 函数
- Mysql导入sql文件乱码问题
- mysql 多表关联更新
- MySql数据库编码
- mysql数据库导出.sql文件