学习笔记

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 359|回复: 0

character-set-client-handshake=false

[复制链接]

80

主题

99

帖子

662

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
662
发表于 2023-5-14 18:02:35 | 显示全部楼层 |阅读模式
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
character-set-server=utf8
character-set-filesystem=utf8
character-set-client-handshake=false
collation-server=utf8_unicode_ci
init_connect='set names utf8'
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
[mysql]
default-character-set=utf8
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|学习笔记 ( 豫ICP备2023009042号-1 )

GMT+8, 2025-1-9 12:02 , Processed in 0.166722 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表