新安装的mariadb 对应的my.cnf 对应的配置

 最近在安装openstack,在启动mariadb的时候出现了问题,一直无法启动

看了一个博客说各种原因,尝试了也没有用

看来只有重新安装了,

原来的都删除了,把my.cnf 删除了

后来重新安装的话,执行:

yum install mariadb mariadb-server python2-PyMySQL -y

发现有些包已经安装了,就不在安装了,但是原来的/etc/my.cnf文件也没有了,那么刚刚安装的my.cnf 是什么内容呢:

#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]

#
# This group is read by the server
#
[mysqld]
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

上面的就是my.cnf的刚开始初始化的文件

希望对你有所帮助

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值