当前位置:网站首页>Solution: exceptiole 'xxxxx QRTZ_ Locks' doesn't exist and MySQL's my CNF file append lower_ case_ table_ Error message after names startup
Solution: exceptiole 'xxxxx QRTZ_ Locks' doesn't exist and MySQL's my CNF file append lower_ case_ table_ Error message after names startup
2022-07-02 23:19:00 【Son is not my fish】
solve :com.mysql.cj.jdbc.exceptiole ‘xxxxx.QRTZ_LOCKS’ doesn’t exist
Here we are xxxxx There is this table under the library , But I didn't recognize that it was capitalized , We need to change mysql The configuration file
stay mysql Of my.cnf The contents of the document [mysqld] Add... Below lower_case_table_names=1
lower_case_table_names Parameters, :
lower_case_table_names = 0|1
among 0: Case sensitive ,1: Case insensitive
MySQL stay Linux Next database name 、 Table name 、 Name 、 This is the case rule for aliases :
1、 Database and table names are strictly case sensitive ;
2、 Table aliases are strictly case sensitive ;
3、 Column names and column aliases are case insensitive in all cases ;
4、 Variable names are also strictly case sensitive ;

modify my.cnf Initiate error reporting :
mysql It's stopped
step 1, Backup mysql Of data file , And delete the original data All the documents in it
cp -rf Resource location Target location

step 2, Change good my.cnf The configuration file , I didn't add lower_case_table_names This configuration is also added
[mysqld]
#bind-address=0.0.0.0
character_set_server=utf8
skip-name-resolve
port=3306
user=mysql
basedir=/home/myqxin/java/mysql
datadir=/home/myqxin/java/mysql/data
socket=/home/myqxin/java/mysql/data/mysql.sock
lower_case_table_names=1
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
[client]
default-character-set=utf8
port=3306
socket=/home/myqxin/java/mysql/data/mysql.sock
[mysqld_safe]
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
step 3, Get into mysql Of bin Under the table of contents , Initialize database
./mysqld --defaults-file=/etc/my.cnf --basedir=/home/myqxin/java/mysql/ --datadir=/home/myqxin/java/mysql/data/ --user=mysql --initialize
Initialization complete , An initial password will be automatically generated , Write it down first , Log in later
The effect is as follows :

step 4, start-up Mysql service
# Start order
service mysql start
# Stop ordering
service mysql stop
The effect is as follows :
step 5, Get into mysql Of bin Under the table of contents , Sign in mysql( When prompted for a password , Is the password generated by our initialization , If you forget , Delete data Catalog , Start over from that step )

step 6, Change Password
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
Refresh
flush privileges;

step 7, Log in with the new password , Configure remote access ( The above does not allow remote access , It needs to be modified to allow remote connections , Steps are as follows )

step 8, See if it's case sensitive
show variables like 'lower%'

边栏推荐
- Win11自动关机设置在哪?Win11设置自动关机的两种方法
- 潘多拉 IOT 开发板学习(HAL 库)—— 实验4 串口通讯实验(学习笔记)
- Boost库链接错误解决方案
- golang入门:for...range修改切片中元素的值的另类方法
- Getting started with golang: for Range an alternative method of modifying the values of elements in slices
- MySQL queries nearby data And sort by distance
- Minimum spanning tree
- Set right click to select vs code to open the file
- Arduino - character judgment function
- php 获取真实ip
猜你喜欢

Realize the linkage between bottomnavigationview and navigation

Cryptography -- the mode of block cipher

为什么RTOS系统要使用MPU?

RuntimeError: no valid convolution algorithms available in CuDNN

抖音实战~点赞数量弹框

Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code

第三方支付功能测试点【杭州多测师_王sir】【杭州多测师】

购买完域名之后能干什么事儿?

C#中Linq用法汇集

【Redis笔记】压缩列表(ziplist)
随机推荐
[hardware] origin of standard resistance value
Tiktok actual combat ~ number of likes pop-up box
Looking at Ctrip's toughness and vision from the Q1 financial report in 2022
Start from the bottom structure to learn the customization and testing of FPGA --- Xilinx ROM IP
Mask R-CNN
Ping domain name error unknown host, NSLOOKUP / system d-resolve can be resolved normally, how to Ping the public network address?
Value sequence < detailed explanation of daily question >
The concepts of terminal voltage, phase voltage and line voltage in FOC vector control and BLDC control are still unclear
STM32之ADC
理想汽车×OceanBase:当造车新势力遇上数据库新势力
2016. maximum difference between incremental elements
The use of 8255 interface chip and ADC0809
Troubleshooting the cause of the crash when STM32 serial port dam receives 253 bytes
海思调用接口之Makefile配置
Loss function~
密码技术---密钥和SSL/TLS
20220524_数据库过程_语句留档
Getting started with golang: for Range an alternative method of modifying the values of elements in slices
Easyclick, EC Quanlang network verification source code
Go basic anonymous variable