In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Download the jdbc driver (mysql-connector-java-5.1.28.jar) of MySQL and put it in the...\ apache-jmeter-3.3\ lib\ directory.
Driver download address: https://dev.mysql.com/downloads/connector/j/
2. Add the driver address under the test plan
3. Select thread group-add-configure original-JDBC Connection Configuration
4. Configure JDBC Connection Configuration
Variable Name: this name is customized and will be used in JDBC Request
Database URL:jdbc:mysql:// database IP address: database port / database name
JDBC Driver Class:com.mysql.jdbc.Driver
Username: database connection user name
Password: database connection password
5. Add JDBC Request
The Variable Name in JDBC Request is the same as the Variable Name in JDBC Connection Configuration.
Query Type: you can choose the type of sql, query, modify or delete operation.
6. Add the view result tree to see whether the data response is correct.
Note: if you want to execute multiple SQL statements at one time, each SQL statement is separated by a semicolon (;), but add a parameter-allowMultiQueries=true at the end of configuring Database URL in JDBC Connection Configuration, and Quer Type must select Callable statement, as shown in the following figure:
The result is perfect, the mood is very happy ~
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.