[Tsung] Error: 1043 08S01 Bad handshake

赵绪 denofiend at gmail.com
Mon Nov 11 10:09:18 CET 2013


Hi,

    my xml config
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/opt/erlang/r15b03/share/tsung/tsung-1.0.dtd">
<tsung loglevel="debug" dumptraffic="true">

  <clients>
    <client host="localhost" use_controller_vm="true"/>
  </clients>

  <!-- Server side setup -->
 <servers>

  <server host="10.117.90.82" port="6666" type="tcp"/>
 </servers>

  <monitoring>
   <monitor host="localhost"/>
  </monitoring>

 <load>
  <arrivalphase phase="1" duration="1" unit="minute">
    <users interarrival="3" unit="second"></users>
  </arrivalphase>
 </load>

 <sessions>
  <session probability="100" name="mysql-example" type="ts_mysql">
      <request>
        <mysql type="connect" />
      </request>
      <request>
        <mysql type="authenticate" database="test" username="test"
password="test" />
      </request>
      <request>
        <mysql type="sql">SHOW TABLES</mysql>
      </request>
      <request>
        <mysql type="sql">SELECT * FROM gens</mysql>
      </request>
      <request>
        <mysql type="sql">SELECT * FROM te</mysql>
      </request>
      <request>
        <mysql type="close"></mysql>
      </request>
  </session>
 </sessions>
</tsung>


after tsung -f mysql.xml -l log/ start

I got Error: 1043 08S01 Bad handshake error.

log:

=INFO REPORT==== 11-Nov-2013::16:56:21 ===
            ts_mysql:(7:<0.97.0>) Parsing greeting
<<10,53,46,53,46,50,49,45,

 108,111,103,0,245,22,0,0,
                                                     85,125,55,55,79,102,53,

 116,0,255,247,33,2,0,15,

 128,21,0,0,0,0,0,0,0,0,0,

 0,107,58,124,39,71,113,36,

 93,40,75,37,117,0,109,121,

 115,113,108,95,110,97,116,

 105,118,101,95,112,97,115,

 115,119,111,114,100,0>>

=INFO REPORT==== 11-Nov-2013::16:56:21 ===
            ts_mysql:(7:<0.97.0>) Auth packet:
<<62,0,0,1,13,162,0,0,64,66,15,

 0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,

 0,0,0,0,0,0,0,0,0,0,116,101,

 115,116,0,20,23,11,175,72,109,

 70,57,23,161,218,135,13,128,
                                                 246,229,128,83,117,216,254,
?test                                         116,101,115,116>> (>
€鲥€Su佝test)≮

=INFO REPORT==== 11-Nov-2013::16:56:21 ===
            ts_mysql:(7:<0.97.0>) Parsing> full packet

=INFO REPORT==== 11-Nov-2013::16:56:21 ===
            ts_mysql:(4:<0.97.0>) Error: 1043 08S01 Bad handshake

hot to slove this problem?

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20131111/b0cbc127/attachment-0001.html>


More information about the Tsung-users mailing list