Windows安裝解壓版MYSQL 5.6.32,同時解決中文亂碼問題
阿新 • • 發佈:2019-02-16
1、將從官網下載的mysql-5.6.32-winx64.zip包直接解壓到本地資料夾
2、將my-default.ini檔案重新命名為my.ini
3、修改my.ini檔案,新增基本配置資訊
[client]
port=3306
default-character-set=utf8[mysql]
default-character-set=utf8[mysqld]
character-set-server=utf8
basedir = D:\\Program Files\\mysql-5.6.32-winx64
datadir = D:\\Program Files\\mysql-5.6.32-winx64\\data
port = 3306
default-storage-engine=MYISAM
key_buffer_size=16M
max_allowed_packet=8Msql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES