MySQL table name is not case sensitive setting method

After mysql is installed under windows system, it is not sensitive to the case of table names by default, but under linux, some systems need to be set manually. Log in as root, open and modify /etc/my.cnf; under the [mysqld] node, add a line: lower_case_table_names=1.

Restart mysql service service mysql restart

Pit:

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
]

< p> In fact, there is this table, but it is very depressing to report this error. The reason is that it is case sensitive

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
]

< p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2979 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.