开发者社区> 问答> 正文

mysql在windows下强制开启大小写敏感?报错

之前在linux下开发,数据库在linux下,mysql是默认大小写区分的;

但现在转为windows8.1,用mysql5.7.10,然后设置Lower_case_names = 0后; 

mysql就无法启动;

去除该参数就可以启动;

然后查下windows日志;

报错:

The server option 'lower_case_table_names' is configured to use case sensitive table names but the data directory is on a case-insensitive file system which is an unsupported combination. Please consider either using a case sensitive file system for your data directory or switching to a case-insensitive table name mode.For more information, see Help and Support Center at http://www.mysql.com.  

按照这个意思,windows的确是大小写不区分的;

但是我在其他机子上,也是windows,这个可以参数为0 可以设置,也可以启动;

有人遇到这样的问题吗?



展开
收起
爱吃鱼的程序员 2020-06-10 15:26:57 903 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    没人知道吗?

    2020-06-10 15:27:14
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载

相关镜像