当在IDEA中配置了云服务器的MySQL
Caused by: org.quartz.impl.jdbcjobstore.LockException: Failure obtaining db row lock: Table 'amops.QRTZ_LOCKS' doesn't exist
因为在Linux平台下面MySQL默认是严格区分大小写的,需要去修改MySQL的配置文件
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
在mysqld下添加以下内容
lower_case_table_names = 1
重启一下数据库
sudo service mysql restart
再次运行程序发现报错消失
成功解决:Caused by: org.quartz.impl.jdbcjobstore.LockException: Failure obtaining db row lock: Table 'amops.QRTZ_LOCKS' doesn't exist的问题