当前位置:网站首页>Get data from the database when using JMeter for database assertion
Get data from the database when using JMeter for database assertion
2022-07-05 12:13:00 【tj9856】
In use today Jemter To debug JDBC When asked , First, I encountered the following error message :“Host ‘LAPTOP-5LRDE9DJ’ is not allowed to connect to this MySQL server”;
After Baidu, it is because MYSQL No permission to open remote login , So use Jmeter Can't connect MYSQL;
because MYSQL The service is deployed directly on my computer , All I use directly Navicate Login modified root Account permissions ;
take root Account number Host Change it to %, Account number exists mysql Under the user In the table 
Then call JDBC Interface , The following error message is reported :Response message:java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown initial character set index ‘255’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.)
Baidu found that it was because the code did not match , I don't know because I used jar Bag and mysql The version of does not match or what problem , There is URL The following conditions are added to solve , Successfully obtained the data
?useUnicode=true&characterEncoding=utf8
边栏推荐
- Seven ways to achieve vertical centering
- Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
- Why do you always fail in automated tests?
- 【Win11 多用户同时登录远程桌面配置方法】
- Reading notes of growth hacker
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- Wireless WiFi learning 8-channel transmitting remote control module
- Matlab superpixels function (2D super pixel over segmentation of image)
- How to make your products as expensive as possible
- Pytorch softmax regression
猜你喜欢

报错ModuleNotFoundError: No module named ‘cv2.aruco‘

Principle of persistence mechanism of redis

16 channel water lamp experiment based on Proteus (assembly language)

mysql拆分字符串做条件查询

【L1、L2、smooth L1三类损失函数】

1 plug-in to handle advertisements in web pages
![[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]](/img/1a/dd7453bc5afc6458334ea08aed7998.png)
[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]

Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
![[pytorch pre training model modification, addition and deletion of specific layers]](/img/cb/aa0b1116ec9b98e3ee5725aa58f4fe.png)
[pytorch pre training model modification, addition and deletion of specific layers]

Matlab struct function (structure array)
随机推荐
Vscode shortcut key
Why learn harmonyos and how to get started quickly?
嵌入式软件架构设计-消息交互
【yolov5.yaml解析】
Open3d European clustering
[singleshotmultiboxdetector (SSD, single step multi frame target detection)]
报错ModuleNotFoundError: No module named ‘cv2.aruco‘
Is investment and finance suitable for girls? What financial products can girls buy?
Network five whip
Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle
【PyTorch预训练模型修改、增删特定层】
vscode快捷键
1 plug-in to handle advertisements in web pages
Flutter2 heavy release supports web and desktop applications
Halcon 模板匹配实战代码(一)
Acid transaction theory
Wireless WiFi learning 8-channel transmitting remote control module
The evolution of mobile cross platform technology
16 channel water lamp experiment based on Proteus (assembly language)
Multi table operation - sub query