log_error=/var/logs/mysql/error.log

 

# 配置默认编码为utf8
# 改/etc/my.cnf配置文件,在[mysqld]下添加编码配置,如下所示:
[mysqld]
character_set_server=utf8
init_connect='SET NAMES utf8'

  

相关文章:

  • 2021-11-04
  • 2021-11-21
  • 2021-10-26
猜你喜欢
  • 2021-12-12
  • 2022-02-07
相关资源
相似解决方案