1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > mysql数据库配置文件my.ini

mysql数据库配置文件my.ini

时间:2024-05-13 19:05:09

相关推荐

mysql数据库配置文件my.ini

#########mysql数据库免安装版本my.ini配置问题###########################配置文件开始#################### For advice on how to change settings please see# /doc/refman/5.7/en/server-configuration-defaults.html# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the# *** default location during install, and will be replaced if you# *** upgrade to a newer version of MySQL.[client]default-character-set=utf8[mysqld]character-set-server=utf8port=3306basedir ="D:\Program Files\mysql-5.6.24-winx64/"datadir ="D:\Program Files\mysql-5.6.24-winx64/data/"tmpdir ="D:\Program Files\mysql-5.6.24-winx64/data/"socket ="D:\Program Files\mysql-5.6.24-winx64/data/mysql.sock"log-error="D:\Program Files\mysql-5.6.24-winx64/data/mysql_error.log"#server_id = 2#skip-lockingmax_connections=100table_open_cache=256query_cache_size=1Mtmp_table_size=32Mthread_cache_size=8innodb_data_home_dir="D:\Program Files\mysql-5.6.24-winx64/data/"innodb_flush_log_at_trx_commit =1innodb_log_buffer_size=128Minnodb_buffer_pool_size=128Minnodb_log_file_size=10Minnodb_thread_concurrency=16innodb-autoextend-increment=1000join_buffer_size = 128Msort_buffer_size = 32Mread_rnd_buffer_size = 32Mmax_allowed_packet = 32Mexplicit_defaults_for_timestamp=truesql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES####################配置文件结束###################

char-set-server=utf8 (数据库服务器端字符集,mysql编码中无utf-8而是utf8)

basedir 路径(路径填mysql的解压路径就好了,我的是basedir ="D:\Program Files\mysql-5.6.24-winx64/",后面有一样的直接替换就好了,data之类的文件夹没有的需要自己新建)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。