修改mysql安裝目錄下的my.ini文件,在後面加上一句話(在修改之前,要先停止mysql服務,修改後再重啓即可):
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
performance_schema_max_table_instances=400
table_definition_cache=400
table_open_cache=256
character_set_server=utf8
lower_case_table_names=1
skip-grant-tables