当前位置: 首页> 教育> 培训 > 新安装的mariadb 对应的my.cnf 对应的配置

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

时间:2025/7/9 9:35:10来源:https://blog.csdn.net/datouniao1/article/details/141564417 浏览次数:0次

 最近在安装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的刚开始初始化的文件

希望对你有所帮助

关键字:新安装的mariadb 对应的my.cnf 对应的配置

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: