当前位置:网站首页>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
边栏推荐
- Principle of persistence mechanism of redis
- Swift - enables textview to be highly adaptive
- 查看rancher中debug端口信息,并做IDEA Remote Jvm Debug
- Seven ways to achieve vertical centering
- Semantic segmentation experiment: UNET network /msrc2 dataset
- SENT协议译码的深入探讨
- Proof of the thinking of Hanoi Tower problem
- 【主流Nivida显卡深度学习/强化学习/AI算力汇总】
- leetcode:1200. Minimum absolute difference
- Wireless WiFi learning 8-channel transmitting remote control module
猜你喜欢
Why learn harmonyos and how to get started quickly?
splunk配置163邮箱告警
yolov5目标检测神经网络——损失函数计算原理
Splunk configuration 163 mailbox alarm
How can beginners learn flutter efficiently?
pytorch-softmax回归
Tabbar configuration at the bottom of wechat applet
Seven ways to achieve vertical centering
Network five whip
【TFLite, ONNX, CoreML, TensorRT Export】
随机推荐
Why learn harmonyos and how to get started quickly?
Proof of the thinking of Hanoi Tower problem
One article tells the latest and complete learning materials of flutter
Seven ways to achieve vertical centering
Is investment and finance suitable for girls? What financial products can girls buy?
1 plug-in to handle advertisements in web pages
What is the difference between canvas and SVG?
【TFLite, ONNX, CoreML, TensorRT Export】
【load dataset】
Acid transaction theory
Basic operations of MySQL data table, addition, deletion and modification & DML
调查显示传统数据安全工具在60%情况下无法抵御勒索软件攻击
一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
【 YOLOv3中Loss部分计算】
MySQL basic operation -dql
byte2String、string2Byte
Understand kotlin from the perspective of an architect
How to make your products as expensive as possible
Four operations and derivative operations of MATLAB polynomials
The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)