vim /ect/my.cnf
Use the mysql command to open the configuration file.
Add the following parameters
[MySQL] default-Character-SET = UTF8 [mysqld] lower_case_table_names =. 1 bulk_insert_buffer_size = 64M default_authentication_plugin = mysql_native_password innodb_buffer_pool_size = 4G the innodb_file_per_table =. 1 join_buffer_size = 2M the max_allowed_packet = 1024M sort_buffer_size = 2M # maximum number of connections max_connections = 200 is # server using 8-bit default character set encoding latin1 charset character-set-server = utf8 default storage engine # when used to create a new table default-storage-engine = INNODB