当前位置:网站首页>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
边栏推荐
- A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
- 1. Laravel creation project of PHP
- 强化学习-学习笔记3 | 策略学习
- Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
- Multi table operation - Auto Association query
- How to make your products as expensive as possible
- Check the debug port information in rancher and do idea remote JVM debug
- Intern position selection and simplified career development planning in Internet companies
- Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
- Xi IO flow
猜你喜欢

【主流Nivida显卡深度学习/强化学习/AI算力汇总】

嵌入式软件架构设计-消息交互

pytorch-权重衰退(weight decay)和丢弃法(dropout)

什么是数字化存在?数字化转型要先从数字化存在开始

多表操作-自关联查询

Select drop-down box realizes three-level linkage of provinces and cities in China

HiEngine:可媲美本地的云原生内存数据库引擎

Multi table operation - Auto Association query

yolov5目標檢測神經網絡——損失函數計算原理

mmclassification 训练自定义数据
随机推荐
Linux安装部署LAMP(Apache+MySQL+PHP)
Reinforcement learning - learning notes 3 | strategic learning
Yolov5 target detection neural network -- calculation principle of loss function
16 channel water lamp experiment based on Proteus (assembly language)
MySQL basic operation -dql
【Win11 多用户同时登录远程桌面配置方法】
多表操作-自关联查询
Select drop-down box realizes three-level linkage of provinces and cities in China
[calculation of loss in yolov3]
Complete activity switching according to sliding
一类恒等式的应用(范德蒙德卷积与超几何函数)
POJ-2499 Binary Tree
Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
Riddle 1
【TFLite, ONNX, CoreML, TensorRT Export】
你做自动化测试为什么总是失败?
Reading notes of growth hacker
查看rancher中debug端口信息,并做IDEA Remote Jvm Debug
Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle
Time tools