zoukankan      html  css  js  c++  java
  • MySQL表名不区分大小写的设置方法

    mysql在windows系统下安装好后,默认是对表名大小写不敏感的,但是在linux下,一些系统需要手动设置。用root登录,打开并修改 /etc/my.cnf;在[mysqld]节点下,加入一行: lower_case_table_names=1。

    重启mysql服务service mysql restart

    坑:

    Error creating bean with name 'sysJobController': Unsatisfied dependency expressed through field 'jobService'; nested exception is 
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysJobServiceImpl': Invocation of init method failed; 
    nested exception is org.quartz.JobPersistenceException: Couldn't check for existence of job: Table 'ry.QRTZ_JOB_DETAILS' doesn't exist [See nested exception:
    
     java.sql.SQLSyntaxErrorException: Table 'ry.QRTZ_JOB_DETAILS' doesn't exist]

     其实是有这个表的,但是报这个错就很郁闷。原因就是区分大小写

  • 相关阅读:
    C语言I博客作业10
    C语言I博客作业09
    C语言I博客作业08
    背景图
    C语言II作业01
    C语言寒假大作战04
    C语言寒假大作战03
    C语言寒假大作战02
    C语言寒假大作战01
    C语言I博客作业12
  • 原文地址:https://www.cnblogs.com/jkwll/p/11717481.html
Copyright © 2011-2022 走看看