config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/x/r/connection_require_secure_transport.result

install plugin mysqlx soname "mysqlx.so";
call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key..");
call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed.");
call mtr.add_suppression("Plugin mysqlx reported: ....: Unsuccessful login attempt: Secure transport required. To log in you must use TCP.SSL or UNIX socket connection");
Wait for the X Plugin before restarting the server
Mysqlx.Ok {
  msg: "bye!"
}
ok
Test different connection types while secure transport when the server was started with this flag set to ON
# restart: --require_secure_transport=ON
send Mysqlx.Session.AuthenticateStart {
  mech_name: "PLAIN"
  auth_data: "\000root\000"
}

Mysqlx.Session.AuthenticateOk {
  auth_data: ""
}

ok
send Mysqlx.Connection.CapabilitiesSet {
  capabilities {
    capabilities {
      name: "tls"
      value {
        type: SCALAR
        scalar {
          type: V_BOOL
          v_bool: true
        }
      }
    }
  }
}

Mysqlx.Ok {
}

send Mysqlx.Session.AuthenticateStart {
  mech_name: "PLAIN"
  auth_data: "\000root\000"
}

Mysqlx.Session.AuthenticateOk {
  auth_data: ""
}

ok
send Mysqlx.Session.AuthenticateStart {
  mech_name: "PLAIN"
  auth_data: "\000root\000"
}

Mysqlx.Error {
  severity: FATAL
  code: 1251
  msg: "Invalid authentication method PLAIN"
  sql_state: "HY000"
}

not ok
Application terminated with expected error: Secure transport required. To log in you must use TCP+SSL or UNIX socket connection. (code 1045)
not ok
SET GLOBAL require_secure_transport=OFF;
send Mysqlx.Session.AuthenticateStart {
  mech_name: "PLAIN"
  auth_data: "\000root\000"
}

Mysqlx.Error {
  severity: FATAL
  code: 1251
  msg: "Invalid authentication method PLAIN"
  sql_state: "HY000"
}

not ok
send Mysqlx.Session.AuthenticateStart {
  mech_name: "PLAIN"
  auth_data: "\000root\000"
}

Mysqlx.Session.AuthenticateOk {
  auth_data: ""
}

ok
Mysqlx.Ok {
  msg: "bye!"
}
ok
UNINSTALL PLUGIN mysqlx;

Man Man