Different lower_case_table_names settings for server ('1')
server for 39 Table case settings different
2023-09-11 14:16:16 时间
MySQL8,新增data dictionary,数据初始化的时候在Linux下默认使用lower_case_table_names=0的参数,数据库启动的时候,读取/etc/my.cnf中的值,如果/etc/my.cnf中的值与数据库初始化时的值不一样,则会报如下错误
[ERROR] [MY-011087] [Server] Different lower_case_table_names settings for server ('1') and data dictionary ('0').
MySQL官方提供的rpm包,默认禁用
lower_case_table_names=0
--官方解释:
After initialization, is is not allowed to change this setting.So "lower_case_table_names" needs to be set together with --initialize .
此参数需数据库初始化的值和启动是的值需相等
重新初始化
mysqld --user=mysql --lower_case_table_names=1 --initialize-insecure --basedir=/usr/local/mysql --datadir=/data/mysql
相关文章
- 记1个低级错误:java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8769/accr/print
- 虚拟机 SUSE Linux Enterprise Server 12 SP2 64
- Sql Server之旅——第三站 解惑那些背了多年聚集索引的人
- sql server简单查询
- Cannot set a credential for principal 'sa'. (Microsoft SQL Server,错误: 15535)
- MySQL server version for the right syntax to use near 'TYPE=MyISAM'
- FileZilla server windows 2003系统下适用的版本
- RF使用ie浏览器访问页面,浏览器启动只显示This is the initial start page for the WebDriver server,页面访问失败
- [Caddy2] The Caddy Web Server 常见 Caddyfile 模式
- SQL SERVER 不能修改表结构、列类型 解决方法
- SQL SERVER服务器链接连接(即sql server的跨库连接)
- Sql Server用管理器建表后如何查看创建表的语句
- Sql Server 导入另一个数据库中的表数据
- SQL Server中clustered与nonclustered的区别
- SQL SERVER服务器链接连接(即sql server的跨库连接)
- Atitit。Web server Jetty9 使用 attilax 总结
- IBM HTTP Server Plugin默认plugin-key.kdb 密钥数据库文件默认个人证书密码过期分析与解决方法
- SQL Server 配置管理器
- WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) java.net.ConnectException: Connection refused
- socket之select多client访问server(三十一)
- TX Text Control .NET Server for ASP.NET 31.X
- TX Text Control .NET Server for ASP.NET 31.0