mysql 配置文件 my.cnf 增加 lower_case_table_names = 1 服务启动不了

原因:在MySQL8.0之后的版本,只允许在数据库初始化时指定,之后不允许修改了

mysql 配置文件 my.cnf 增加 lower_case_table_names = 1 服务启动不了

报错信息:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

具体情况说明:

原来mysql服务正常运行

修改配置文件 my.cnf,简单的增加一行配置信息:lower_case_table_names = 1

配置文件 my.cnf 修改前的内容:

配置文件 my.cnf 修改后的内容:

重启mysql服务失败,报错信息:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

原因:在MySQL8.0之后的版本,只允许在数据库初始化时指定,之后不允许修改了

相关推荐
weixin_307779132 小时前
VS Code配置MinGW64编译SQLite3库
开发语言·数据库·c++·vscode·算法
SelectDB2 小时前
Apache Doris 4.0 AI 能力揭秘(一):AI 函数之 LLM 函数介绍
数据库·人工智能·数据分析
我是哈哈hh2 小时前
【MySQL】在UBuntu环境安装以及免密码登录入门
linux·数据库·mysql·ubuntu
喪彪3 小时前
MySQL新手教学
数据库·mysql·adb
丘大梨6 小时前
QT 基础聊天应用项目文档
运维·数据库·系统架构
HMBBLOVEPDX6 小时前
MySQL的多版本并发控制(MVCC):
数据库·mysql·mvcc
.用户昵称已存在.6 小时前
MongoDB 从入门到精通:安装配置与基础操作指令详解
数据库·mongodb
ClouGence7 小时前
CloudDM 新增支持 GaussDB 与 openGauss:国产数据库管理更高效
数据库·sql·ci/cd
sukalot7 小时前
window显示驱动开发—在混合系统中使用跨适配器资源
数据库·驱动开发·音视频