当前位置:网站首页>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
边栏推荐
- 什么是数字化存在?数字化转型要先从数字化存在开始
- MySQL installation, Windows version
- Simple production of wechat applet cloud development authorization login
- 【pytorch 修改预训练模型:实测加载预训练模型与模型随机初始化差别不大】
- Recyclerview paging slide
- [singleshotmultiboxdetector (SSD, single step multi frame target detection)]
- II. Data type
- 无线WIFI学习型8路发射遥控模块
- Halcon 模板匹配实战代码(一)
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
猜你喜欢
互联网公司实习岗位选择与简易版职业发展规划
7月华清学习-1
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
【 YOLOv3中Loss部分计算】
Intern position selection and simplified career development planning in Internet companies
Uniapp + unicloud + Unipay realize wechat applet payment function
Splunk configuration 163 mailbox alarm
【上采样方式-OpenCV插值】
【pytorch 修改预训练模型:实测加载预训练模型与模型随机初始化差别不大】
Linux安装部署LAMP(Apache+MySQL+PHP)
随机推荐
[HDU 2096] 小明A+B
Time tools
MySQL regular expression
Open3d European clustering
Simple production of wechat applet cloud development authorization login
Take you two minutes to quickly master the route and navigation of flutter
Yolov5 target detection neural network -- calculation principle of loss function
splunk配置163邮箱告警
mmclassification 训练自定义数据
Pytorch softmax regression
Redirection of redis cluster
Principle of persistence mechanism of redis
[untitled]
只是巧合?苹果 iOS16 的神秘技术竟然与中国企业 5 年前产品一致!
图像超分实验:SRCNN/FSRCNN
abap查表程序
Hash tag usage in redis cluster
Seven polymorphisms
Acid transaction theory
手机 CPU 架构类型了解