[mysqld]
basedir=C:\Program Files\mysql-5.7.19\
datadir=C:\\Program Files\mysql-5.7.19\data\
port=3306
skip-grant-tables
explicit_defaults_for_timestamp=true
innodb_buffer_pool_size = 256M
innodb_log_file_size = 256M
innodb_thread_concurrency = 16
innodb_flush_log_at_trx_commit = 2
innodb_flush_method = normal
把mysql安装路径换成自己环境的安装路径即可