mysql数据库配置文件my.ini
生活随笔
收集整理的這篇文章主要介紹了
mysql数据库配置文件my.ini
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
#########mysql數(shù)據(jù)庫免安裝版本my.ini配置問題#######
####################配置文件開始#################### For advice on how to change settings please see# http://dev.mysql.com/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####################配置文件結(jié)束###################
與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖
char-set-server=utf8 (數(shù)據(jù)庫服務(wù)器端字符集,mysql編碼中無utf-8而是utf8)
basedir 路徑(路徑填mysql的解壓路徑就好了,我的是basedir? ="D:\Program Files\mysql-5.6.24-winx64/",后面有一樣的直接替換就好了,data之類的文件夾沒有的需要自己新建)
與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖
總結(jié)
以上是生活随笔為你收集整理的mysql数据库配置文件my.ini的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 阿里高专王夕宁:Istio网关之南北向流
- 下一篇: linux cmake编译源码,linu