首页 > 其他分享 >Different lower_case_table_names settings for server (‘1‘) and data dictionary (‘0‘).

Different lower_case_table_names settings for server (‘1‘) and data dictionary (‘0‘).

时间:2022-11-07 19:33:48浏览次数:103  
标签:case Different dictionary mysql lower names MySQL table


ubuntu18.04

mysql8.0

 

ubuntu18.04下/etc/mysql/ mysql.cnf  里面加上了这么一段:

[mysqld]
lower_case_table_names=1
#protocol = tcp

为的是解决大小写敏感的问题,可是重启mysql就报错了

查阅资料发现这么一段话

'In MySQL 8.0, the lower_case_table_names variable can only be configured when the MySQL server is initialized. "

出处是MySQL官网

​https://bugs.mysql.com/bug.php?id=90695​

所以,也是没有办法的事,重装MySQL吧,初始化之前做修改

这样

 rm -rf ​​/var/lib/mysql​​.

然后

service mysql start 

​参考​

​论坛​

标签:case,Different,dictionary,mysql,lower,names,MySQL,table
From: https://blog.51cto.com/u_11320078/5831074

相关文章

  • Hive-- CASE WHEN THEN ELSE END 和 IF 函数
    创建本地emp_sex.txt,导入数据[atguigu@hadoop102datas]$viemp_sex.txt悟空A男大海A男宋宋B男凤姐A女婷姐B女婷婷B女创建hive表并导入数据cr......
  • CASE types integer and text cannot be matched
    报以上错误可能的错误场景之一是:当你在写casewhen语句的时候,when不同的条件的时候then里面想拼接内容,使用了concat()函数注:请认真阅读,出现这种错误说明你对case......
  • case when最详细用法
    参考原文:https://zhuanlan.zhihu.com/p/110198759?from_voters_page=truecasewhen推荐学习书籍:1、SQL基础教程6-32、SQL进阶教程1-1casewhen是SQL语法中提供......
  • Programming Differential Privacy 阅读参考(part 3)
    ProgrammingDifferentialPrivacy阅读参考(part3)ProgrammingDifferentialPrivacy链接ch6敏感度在第四章的拉普拉斯机制部分,提到使查询满足差分隐私所需的噪声大小......
  • List泛型数组 Dictionary字典
    泛型数组usingSystem.Collections.Generic;为了解决动态数组的拆装箱问题,故引入泛型数组。//创建一个int类型的泛型数组List<int>list=newList<int>();//数据......
  • SQL语句之if,case
    其他函数、case语句1.聚合函数 max(),min(),avg(),sum(),count() 2.if(bool表达式,expr1,expr2) 如果bool表达式成立(true),......
  • Programming Differential Privacy 阅读参考(part 2)
    ProgrammingDifferentialPrivacy阅读参考(part2)ProgrammingDifferentialPrivacy链接ch4差分隐私差分隐私(differentialprivacy),是一个用数学语言描述的隐私定义......
  • Programming Differential Privacy 阅读参考(part 1)
    ProgrammingDifferentialPrivacy阅读参考(part1)ch2De-identification去标识(De-identification),是指从数据集中删除标识信息的过程,有时会把去标识与匿名(Anonymization)......
  • [数据库基础]-- 字符串截取函数substr、substring以及 case when函数使用
    使用说明:1、使用:substr使用范围:oracle、mysql、sqlserversubstring使用范围:mysql、sqlserver 2、举例:现有表:t_user name、age字段查询需求:如果name字段中的第5个字符有“......
  • sqlserver 关于 case when is null 的查询
    sqlserver关于casewhenisnull的查询select*fromApInterSkuInfowhereBeginValue=convert(varchar(100),convert(datetime,'2017-12-0923:59:59.8',101),23)......