Skip to content

HammerDB 4.6 (MySQL) reports SSL is used, even when disabled? #505

@jsrz

Description

@jsrz

I'm a little confused with the output when I run a test against a MySQL instance. Here is my TCL for the test (schema is already build before this):

#!/bin/tclsh
dbset db mysql
dbset bm TPROC-C
diset connection mysql_host <my_ip>
diset connection mysql_port 3306
diset connection mysql_ssl false
diset tpcc mysql_count_ware 1000
diset tpcc mysql_num_vu 100
diset tpcc mysql_user dbtestuser
diset tpcc mysql_pass dbtest
diset tpcc mysql_prepared true
diset tpcc mysql_total_iterations 1000000000
diset tpcc mysql_raiseerror true
diset tpcc mysql_driver timed
diset tpcc mysql_rampup 3
diset tpcc mysql_duration 15
diset tpcc mysql_timeprofile true
diset tpcc mysql_connect_pool false
loadscript

Notice that mysql_ssl is set to false. Yet, when I run the actual test like below:

puts "Start Test(s)"
foreach z { 1 25 50 100 } {
puts "Testing with $z users"
vuset vu $z
vuset iterations 1 
vuset logtotemp 1
vuset unique 1
vucreate
vurun
vudestroy
after 5000
}
puts "Tests complete"

I see the following in the output.

Vuser 1:RUNNING                           
Vuser 1:Initializing xtprof time profiler                                                                
Vuser 1:Ssl_cipher TLS_AES_256_GCM_SHA384                                                                
Vuser 1:Beginning rampup time of 3 minutes                                                               
Vuser 2:RUNNING                                                                                          
Vuser 2:Initializing xtprof time profiler                                                                
Vuser 2:Ssl_cipher TLS_AES_256_GCM_SHA384 
Vuser 2:Processing 1000000000 transactions with output suppressed...
...

Notice it say's "Ssl_cipher TLS_AES_256_GCM_SHA384".

Why is this in the output if I set mysql_ssl to false?

I recall not seeing this when I was running the above scripts with v4.5 (I think).

Edit: Actually I still see it in 4.5. Anyway, would like to understand what output means when mysql_ssl is false.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions