mysql 配置文件 my.cnf 增加 lower_case_table_names = 1 服务启动不了的原因
只是简单的增加一行配置信息: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之后的版本,只允许在数据库初始化时指定,之后不允许修改了
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)