my.ini配置

maximeete發表於2018-08-29
[mysqld]
character-set-server=utf8
#繫結IPv4和3306埠
bind-address = 0.0.0.0
port = 3306
sql_mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION"
default_storage_engine=innodb
innodb_buffer_pool_size=1000M
innodb_log_file_size=50M
# 設定mysql的安裝目錄
basedir=G:\mysql-5.7.23-winx64
# 設定mysql資料庫的資料的存放目錄
datadir=G:\mysql-5.7.23-winx64\data
# 允許最大連線數
max_connections=20
# skip_grant_tables
[mysql]
default-character-set=utf8
[mysql.server]
default-character-set=utf8
[mysql_safe]
default-character-set=utf8
[client]
port = 3306
plugin-dir=G:\mysql-5.7.23-winx64\lib\plugin

 

相關文章