Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将我保存为 csv 文件的 jmeter 测试结果导出到 mysql 数据库中。 我要导出的列是response time (t), timestamp (ts), average, throughput, latency, in and max.
response time (t), timestamp (ts), average, throughput, latency, in and max
有人可以帮忙吗?
您可以使用
LOAD DATA INFILE 'fred.txt' INTO TABLE my_table;
或者
LOAD DATA INFILE fred.csv INTO table my_table FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' ( response, timest, avg, thru, lat, in, max ) SET response= @var1, timest = @var2, etc