当前位置:网站首页>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%'

边栏推荐
- Static file display problem
- Use of recyclerview with viewbinding
- 用matlab调用vs2015来编译vs工程
- 数字图像处理实验目录
- Chow-Liu Tree
- ADC of stm32
- Deep analysis of data storage in memory - C language
- 深度剖析数据在内存中的存储----C语言篇
- Go language sqlx library operation SQLite3 database addition, deletion, modification and query
- Potplayer set minimized shortcut keys
猜你喜欢

阿里云有奖体验:如何使用 PolarDB-X

详解Promise使用

密码技术---分组密码的模式

内网渗透 | 手把手教你如何进行内网渗透

Value sequence < detailed explanation of daily question >

潘多拉 IOT 开发板学习(HAL 库)—— 实验4 串口通讯实验(学习笔记)

跨境电商如何通过打好数据底座,实现低成本稳步增长

RecyclerView结合ViewBinding的使用

Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!

面试过了,起薪16k
随机推荐
The difference between new and make in golang
基于Pyqt5工具栏按钮可实现界面切换-1
公司里只有一个测试是什么体验?听听他们怎么说吧
跨境电商如何通过打好数据底座,实现低成本稳步增长
Solving ordinary differential equations with MATLAB
[adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)
Simple square wave generating circuit [51 single chip microcomputer and 8253a]
Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
Win11自动关机设置在哪?Win11设置自动关机的两种方法
聊聊内存模型与内存序
详解Promise使用
Numerical solution of partial differential equations with MATLAB
BBR encounters cubic
4 special cases! Schools in area a adopt the re examination score line in area B!
PotPlayer设置最小化的快捷键
C# MVC创建一个视图摆脱布局的影响
YOLOX加强特征提取网络Panet分析
剑指 Offer II 099. 最小路径之和-双百代码
ping域名报错unknown host,nslookup/systemd-resolve可以正常解析,ping公网地址通怎么解决?
Catalogue of digital image processing experiments