Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 18.224.5.46
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
mysql /
mysql-test /
suite /
x /
r /
[ HOME SHELL ]
Name
Size
Permission
Action
admin_bogus.result
703
B
-rw-r--r--
admin_bogus_mysqlx.result
523
B
-rw-r--r--
admin_create_collection.result
3.53
KB
-rw-r--r--
admin_create_collection_mysqlx...
1.97
KB
-rw-r--r--
admin_create_index_datetime.re...
4.96
KB
-rw-r--r--
admin_create_index_datetime_my...
1.27
KB
-rw-r--r--
admin_create_index_string.resu...
12.64
KB
-rw-r--r--
admin_create_index_string_mysq...
2.28
KB
-rw-r--r--
admin_ensure_collection.result
3.49
KB
-rw-r--r--
admin_ensure_collection_mysqlx...
3.46
KB
-rw-r--r--
admin_kill.result
3.07
KB
-rw-r--r--
admin_kill_client_mysqlx.resul...
1.61
KB
-rw-r--r--
admin_list_objects.result
3.07
KB
-rw-r--r--
admin_list_objects_case_insens...
1.38
KB
-rw-r--r--
admin_list_objects_case_insens...
1.42
KB
-rw-r--r--
admin_list_objects_case_sensit...
1.25
KB
-rw-r--r--
admin_list_objects_case_sensit...
1.38
KB
-rw-r--r--
admin_list_objects_mysqlx.resu...
2
KB
-rw-r--r--
admin_ping.result
533
B
-rw-r--r--
admin_ping_mysqlx.result
1.21
KB
-rw-r--r--
admin_xkill.result
50.58
KB
-rw-r--r--
binary_log.result
1.07
KB
-rw-r--r--
bug_23028052.result
2.75
KB
-rw-r--r--
capabilities.result
21.04
KB
-rw-r--r--
client_close.result
32.63
KB
-rw-r--r--
client_close_abort.result
1.95
KB
-rw-r--r--
client_session.result
1.26
KB
-rw-r--r--
connection.result
39.97
KB
-rw-r--r--
connection_default_schema.resu...
2.2
KB
-rw-r--r--
connection_expire.result
6.42
KB
-rw-r--r--
connection_expired_certs.resul...
433
B
-rw-r--r--
connection_ipv6.result
4.22
KB
-rw-r--r--
connection_nonssl.result
3.69
KB
-rw-r--r--
connection_openssl.result
18.51
KB
-rw-r--r--
connection_require_secure_tran...
1.99
KB
-rw-r--r--
connection_reset_by_peer.resul...
818
B
-rw-r--r--
connection_skip_grant_table.re...
2.25
KB
-rw-r--r--
connection_skip_networking.res...
1.36
KB
-rw-r--r--
connection_skip_networking_win...
679
B
-rw-r--r--
connection_timeout.result
2.04
KB
-rw-r--r--
connection_tls_version.result
4.75
KB
-rw-r--r--
connection_unixsocket.result
7.49
KB
-rw-r--r--
connection_unixsocket_invalid....
2.57
KB
-rw-r--r--
connection_unixsocket_lock.res...
1.24
KB
-rw-r--r--
connection_unixsocket_rpl.resu...
9.81
KB
-rw-r--r--
connection_user_authentication...
3.91
KB
-rw-r--r--
connection_user_authentication...
3.22
KB
-rw-r--r--
connection_without_session.res...
373
B
-rw-r--r--
create_alter_sql.result
9.96
KB
-rw-r--r--
create_drop_collection_crud.re...
12.87
KB
-rw-r--r--
create_index_crud.result
62.48
KB
-rw-r--r--
crud_asterisk.result
1.88
KB
-rw-r--r--
crud_create_view.result
6.29
KB
-rw-r--r--
crud_debug.result
675
B
-rw-r--r--
crud_delete_args.result
1.12
KB
-rw-r--r--
crud_doc_criteria_args.result
26.62
KB
-rw-r--r--
crud_doc_expr_array.result
23.27
KB
-rw-r--r--
crud_doc_expr_object.result
8.33
KB
-rw-r--r--
crud_drop_view.result
1.32
KB
-rw-r--r--
crud_find_args.result
1.46
KB
-rw-r--r--
crud_find_doc_criteria.result
2.51
KB
-rw-r--r--
crud_find_doc_groupby.result
1.72
KB
-rw-r--r--
crud_find_groupby.result
1.43
KB
-rw-r--r--
crud_insert_args.result
779
B
-rw-r--r--
crud_insert_cast.result
11.9
KB
-rw-r--r--
crud_insert_default.result
3.51
KB
-rw-r--r--
crud_insert_expr.result
3.52
KB
-rw-r--r--
crud_insert_nodoc.result
610
B
-rw-r--r--
crud_modify_view.result
4.66
KB
-rw-r--r--
crud_myisam_memory.result
11.19
KB
-rw-r--r--
crud_octets_content_type.resul...
3.37
KB
-rw-r--r--
crud_order_by.result
2.19
KB
-rw-r--r--
crud_pipe.result
2.56
KB
-rw-r--r--
crud_resultset_metadata.result
990
B
-rw-r--r--
crud_rpl.result
9.24
KB
-rw-r--r--
crud_sundries.result
29.98
KB
-rw-r--r--
crud_table_criteria_args.resul...
20.3
KB
-rw-r--r--
crud_table_expr_array.result
23.29
KB
-rw-r--r--
crud_table_expr_object.result
7.4
KB
-rw-r--r--
crud_update_args.result
1.57
KB
-rw-r--r--
crud_update_table_json.result
9.3
KB
-rw-r--r--
crud_view_sundries.result
3.63
KB
-rw-r--r--
delete_crud_1.result
7.12
KB
-rw-r--r--
delete_crud_o.result
27.17
KB
-rw-r--r--
delete_del_all.result
1.68
KB
-rw-r--r--
delete_del_bad_collection.resu...
2.3
KB
-rw-r--r--
delete_del_bad_expr.result
2.07
KB
-rw-r--r--
delete_del_missing_arg.result
2.1
KB
-rw-r--r--
delete_del_multi_by_expr.resul...
2.06
KB
-rw-r--r--
delete_del_multi_by_id.result
1.89
KB
-rw-r--r--
delete_del_none_by_expr.result
2.07
KB
-rw-r--r--
delete_del_none_table.result
2.61
KB
-rw-r--r--
delete_del_one_by_expr.result
2.57
KB
-rw-r--r--
delete_del_table.result
2
KB
-rw-r--r--
delete_del_table_doc.result
3.23
KB
-rw-r--r--
delete_del_table_order.result
2.99
KB
-rw-r--r--
delete_sql_o.result
10.03
KB
-rw-r--r--
drop_index_crud.result
121.28
KB
-rw-r--r--
expect_noerror.result
6.95
KB
-rw-r--r--
fieldtypes_all.result
9.62
KB
-rw-r--r--
find_crud_conditionalclauses_o...
28.66
KB
-rw-r--r--
find_crud_groupby_o.result
16.74
KB
-rw-r--r--
find_doc_proj.result
10.47
KB
-rw-r--r--
find_doc_simple.result
6.66
KB
-rw-r--r--
find_docpath_expr.result
6.58
KB
-rw-r--r--
find_funtion_call.result
35.96
KB
-rw-r--r--
find_table_find.result
7.24
KB
-rw-r--r--
find_table_find_as_doc.result
5.46
KB
-rw-r--r--
find_table_find_rows_proj.resu...
6.6
KB
-rw-r--r--
forbidden_sql_cmd.result
1.9
KB
-rw-r--r--
input_queue.result
5.98
KB
-rw-r--r--
insert_crud_1.result
15.99
KB
-rw-r--r--
insert_crud_o.result
26.83
KB
-rw-r--r--
insert_doc_bad_proj.result
1.93
KB
-rw-r--r--
insert_doc_id.result
1.79
KB
-rw-r--r--
insert_doc_id_dup.result
2.82
KB
-rw-r--r--
insert_doc_noid.result
1.88
KB
-rw-r--r--
insert_sql_o.result
5.78
KB
-rw-r--r--
insert_table.result
8.56
KB
-rw-r--r--
insert_table_bad_column.result
2.41
KB
-rw-r--r--
insert_table_bad_column_type.r...
5.51
KB
-rw-r--r--
insert_table_bad_numcolumns.re...
5.98
KB
-rw-r--r--
insert_table_escape_identifier...
1.2
KB
-rw-r--r--
insert_table_missing_notnull_c...
1.28
KB
-rw-r--r--
insert_table_string_quoting.re...
1.33
KB
-rw-r--r--
installxplugin.result
12.81
KB
-rw-r--r--
killconnection.result
2.97
KB
-rw-r--r--
message_empty_payload.result
767
B
-rw-r--r--
message_protobuf_nested.result
839
B
-rw-r--r--
multiple_resultsets_and_out_pa...
7.4
KB
-rw-r--r--
mysql_session_user.result
3.22
KB
-rw-r--r--
mysqlx_server_var.result
8.7
KB
-rw-r--r--
mysqlxtest_help.result
8.06
KB
-rw-r--r--
notice_warning.result
6.78
KB
-rw-r--r--
notice_warning_mysqlx.result
1.12
KB
-rw-r--r--
notices_disable.result
71.66
KB
-rw-r--r--
notices_disable_mysqlx.result
11.56
KB
-rw-r--r--
notices_enable.result
216.67
KB
-rw-r--r--
notices_enable_mysqlx.result
63.76
KB
-rw-r--r--
performance_schema.result
16.42
KB
-rw-r--r--
performance_schema_memory.resu...
3.71
KB
-rw-r--r--
performance_schema_sockets.res...
16.04
KB
-rw-r--r--
performance_schema_threads.res...
3.92
KB
-rw-r--r--
performance_schema_unixsockets...
16.12
KB
-rw-r--r--
plugin_license.result
420
B
-rw-r--r--
regression.result
8.69
KB
-rw-r--r--
result_types.result
3.28
KB
-rw-r--r--
session_reset.result
1.8
KB
-rw-r--r--
status_bytes_received.result
326
B
-rw-r--r--
status_variable_errors_unknown...
1.93
KB
-rw-r--r--
status_variable_notices.result
765
B
-rw-r--r--
status_variables.result
6.32
KB
-rw-r--r--
status_variables_incrementing....
3.42
KB
-rw-r--r--
stmtexecute_query_no_result.re...
1.06
KB
-rw-r--r--
stmtexecute_query_result.resul...
1.99
KB
-rw-r--r--
stmtexecute_status_vars.result
20.87
KB
-rw-r--r--
stmtexecute_with_args.result
7.85
KB
-rw-r--r--
system_variable_bind_address.r...
1.74
KB
-rw-r--r--
system_variable_max_allowed_pa...
1.14
KB
-rw-r--r--
system_variable_min_worker_thr...
4.9
KB
-rw-r--r--
system_variable_port_open_time...
3.34
KB
-rw-r--r--
system_variables.result
1.46
KB
-rw-r--r--
update_crud_arrayappend_o.resu...
28.66
KB
-rw-r--r--
update_crud_arrayinsert_o.resu...
38.06
KB
-rw-r--r--
update_crud_itemmerge_o.result
31.89
KB
-rw-r--r--
update_crud_o.result
37.48
KB
-rw-r--r--
update_crud_remove_o.result
16.89
KB
-rw-r--r--
update_crud_replace_o.result
25.88
KB
-rw-r--r--
update_doc.result
30.18
KB
-rw-r--r--
update_sql_o.result
5.42
KB
-rw-r--r--
update_table.result
4.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : connection.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: '2.1: Unsuccessful login attempt: Invalid user or password'"); call mtr.add_suppression("Plugin mysqlx reported: '3.1: Unsuccessful login attempt: Invalid user or password'"); call mtr.add_suppression("Plugin mysqlx reported: '4.1: Unsuccessful login attempt: Your password has expired. To log in you must change it using a client that supports expired passwords.'"); call mtr.add_suppression("Plugin mysqlx reported: '5.1: Unsuccessful login attempt: Account is locked.'"); call mtr.add_suppression("Plugin mysqlx reported: '16.1: Unsuccessful login attempt: Account is locked.'"); call mtr.add_suppression("Plugin mysqlx reported: '6.1: Unsuccessful login attempt: Invalid user or password'"); call mtr.add_suppression("Plugin mysqlx reported: '1.1: Unsuccessful login attempt: Server works in offline mode.'"); call mtr.add_suppression("Plugin mysqlx reported: '2.1: Unsuccessful login attempt: Unable to switch context to user mysql.session'"); call mtr.add_suppression("Plugin mysqlx reported: 'Unable to switch context to user mysql.session'"); call mtr.add_suppression("Plugin mysqlx reported: 'Unable to accept connection, disconnecting client'"); call mtr.add_suppression("Plugin mysqlx reported: 'Could not open internal MySQL session'"); call mtr.add_suppression("Plugin mysqlx reported: '.*: Error initializing session for connection: Could not open session'"); call mtr.add_suppression("Plugin 'mysqlx' has ref_count=5 after shutdown"); call mtr.add_suppression("Plugin 'mysqlx' will be forced to shutdown"); RUN SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE from information_schema.plugins where PLUGIN_NAME LIKE '%mysqlx%' PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE mysqlx 1.0 ACTIVE DAEMON 0 rows affected RUN create user xplugin@localhost identified by 'xplugin' 0 rows affected RUN alter user xplugin@localhost password expire 0 rows affected RUN create user nonblank@localhost identified by 'nonblank' 0 rows affected RUN create user blank@localhost identified by '' 0 rows affected RUN CREATE USER 'abc'@'localhost' IDENTIFIED BY 'abc' ACCOUNT LOCK 0 rows affected RUN create user ''@localhost identified by 'ramana' 0 rows affected RUN create user special@localhost identified by '1aram@&Tpu' 0 rows affected RUN create user session@localhost identified by 'session' 0 rows affected RUN grant all on *.* to session@localhost 0 rows affected RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 1 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 Application terminated with expected error: Invalid user or password (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 1 Application terminated with expected error: Invalid user or password (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 3 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 3 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 2 RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address special@localhost special@localhost * 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 3 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 4 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 2 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 4 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 4 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 2 ERROR: Host not found show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 4 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 4 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 2 uninstall plugin mysqlx; ERROR: Connection refused connecting to HOST:PORT show status like 'Mysqlx_connections_closed'; Variable_name Value show status like 'Mysqlx_connections_accepted'; Variable_name Value show status like 'Mysqlx_connection_accept_errors'; Variable_name Value show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value # restart: --plugin-load=mysqlx.so RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address root@localhost root@localhost * 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 Application terminated with expected error: Invalid user or password (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 1 Application terminated with expected error: Invalid user or password (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 3 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 3 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 2 Application terminated with expected error: Your password has expired. To log in you must change it using a client that supports expired passwords. (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 4 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 4 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 3 Application terminated with expected error: Account is locked. (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 5 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 5 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 4 show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 6 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 6 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 5 RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address nonblank@localhost nonblank@localhost * 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 6 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 7 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 5 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 7 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 7 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 5 RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address blank@localhost blank@localhost * 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 7 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 8 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 3 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 5 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 8 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 8 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 3 Mysqlx_sessions_closed 3 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 5 # restart: --bind-address=localhost --plugin-load=mysqlx.so RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address nonblank@localhost nonblank@localhost localhost 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address nonblank@localhost nonblank@localhost localhost 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 2 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 # restart: --bind-address=127.0.0.1 --plugin-load=mysqlx.so RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address nonblank@localhost nonblank@localhost 127.0.0.1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address nonblank@localhost nonblank@localhost 127.0.0.1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 2 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 2 Mysqlx_sessions_closed 2 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 # restart: --offline_mode=ON --plugin-load=mysqlx.so Application terminated with expected error: Server works in offline mode. (code 1045) not ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 0 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 1 RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address root@localhost root@localhost * 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 1 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 2 0 rows affected Got expected error (code 0) RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Got expected error (code 0) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 1 0 rows affected Got expected error (code 0) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 1 # restart: --plugin-load=mysqlx.so RUN SET @@session.session_track_system_variables='mysqlx_port,mysqlx_idle_worker_thread_timeout,mysqlx_max_allowed_packet,mysqlx_max_connections,mysqlx_min_worker_threads' 0 rows affected RUN show variables like '%session_track%' Variable_name Value session_track_gtids OFF session_track_schema ON session_track_state_change OFF session_track_system_variables mysqlx_port,mysqlx_idle_worker_thread_timeout,mysqlx_max_allowed_packet,mysqlx_max_connections,mysqlx_min_worker_threads session_track_transaction_info OFF 0 rows affected RUN uninstall plugin mysqlx; Got expected error: Command not supported by pluggable protocols (code 3130) RUN show warnings Level Code Message Error 3130 Command not supported by pluggable protocols 0 rows affected RUN show variables like '%mysqlx_max_connections%' Variable_name Value mysqlx_max_connections 100 0 rows affected RUN set @@global.mysqlx_max_connections=100 0 rows affected RUN show variables like '%mysqlx_max_connections%' Variable_name Value mysqlx_max_connections 100 0 rows affected RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 1 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Variable_name Value Mysqlx_sessions 1 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 0 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 # restart: --skip-disconnect-on-expired-password --plugin-load=mysqlx.so NOTICE: Account password expired RUN select user(),current_user(),@@bind_address Got expected error: You must reset your password using ALTER USER statement before executing this statement. (code 1820) RUN show status like 'Mysqlx_connections_closed' Got expected error: You must reset your password using ALTER USER statement before executing this statement. (code 1820) RUN show status like 'Mysqlx_connections_accepted' Got expected error: You must reset your password using ALTER USER statement before executing this statement. (code 1820) RUN show status like 'Mysqlx_connection_accept_errors' Got expected error: You must reset your password using ALTER USER statement before executing this statement. (code 1820) RUN show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error' Got expected error: You must reset your password using ALTER USER statement before executing this statement. (code 1820) Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 1 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 1 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 show status where `Variable_name` like 'Mysqlx_sessions%' and not `Variable_name` like 'Mysqlx_sessions_fatal_error'; Variable_name Value Mysqlx_sessions 0 Mysqlx_sessions_accepted 1 Mysqlx_sessions_closed 1 Mysqlx_sessions_killed 0 Mysqlx_sessions_rejected 0 # restart: --plugin-load=mysqlx.so --mysqlx_max_connections=2 RUN create user con1@localhost identified by 'con1' 0 rows affected RUN create user con2@localhost identified by 'con2' 0 rows affected RUN grant all on *.* to con2@localhost 0 rows affected Test data send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 1 root localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead create and activate new session con1 connecting... active session is now 'con1' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 2 con1 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead open 3rd xprotocol connection where 2 sessions already opened (may fail) connecting... active session is now 'con2' closing session con2 switched to session default send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 1 root localhost 2 con1 localhost command ok RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 2 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 2 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 2 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 drop user con1@localhost; drop user con2@localhost; # restart: --plugin-load=mysqlx.so --mysqlx_max_connections=3 RUN create user con1@localhost identified by 'con1' 0 rows affected RUN create user con2@localhost identified by 'con2' 0 rows affected RUN grant all on *.* to con2@localhost 0 rows affected Test data send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 1 root localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead create and activate new session con1 connecting... active session is now 'con1' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 2 con1 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead open 3rd xprotocol connection where 2 sessions already opened connecting... active session is now 'con2' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 1 root localhost 2 con1 localhost 3 con2 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 0 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 3 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected closing session con2 Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 3 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 3 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 RUN create user xcon1@localhost identified by 'xcon1' 0 rows affected RUN create user xcon2@localhost identified by 'xcon2' 0 rows affected RUN grant all on *.* to xcon2@localhost 0 rows affected RUN set @@global.mysqlx_max_connections=2 0 rows affected Test data send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 4 root localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 3 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 4 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected create and activate new session con1 connecting... active session is now 'xcon1' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 5 xcon1 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 3 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 5 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected open 3rd xprotocol connection where 2 sessions already opened this scenario is related to Bug#21374656 connecting... active session is now 'xcon2' closing session xcon2 switched to session default switched to session default send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 4 root localhost 5 xcon1 localhost command ok RUN set @@global.mysqlx_max_connections=3 0 rows affected RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 3 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 5 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected connecting... active session is now 'xcon2' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 4 root localhost 5 xcon1 localhost 7 xcon2 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead RUN drop user xcon1@localhost 0 rows affected RUN drop user xcon2@localhost 0 rows affected RUN set @@global.mysqlx_max_connections=100 0 rows affected RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 3 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 6 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected closing session xcon2 Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 6 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 6 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 kill xprotocol session when some operations are going on there using mysqx protocol RUN create user xcon1@localhost identified by 'xcon1' 0 rows affected RUN create user xcon2@localhost identified by 'xcon2' 0 rows affected RUN grant all on *.* to xcon2@localhost 0 rows affected RUN SET GLOBAL mysqlx_connect_timeout = 300 0 rows affected Test data send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 8 root localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 6 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 7 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected create and activate new session con1 connecting... active session is now 'xcon1' RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 6 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 8 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 9 xcon1 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead send Mysqlx.Sql.StmtExecute { stmt: "select sleep(100);" } open 3rd xprotocol connection where 2 sessions already opened connecting... active session is now 'xcon2' RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 6 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 9 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected switched to session default send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 8 root localhost 9 xcon1 localhost 10 xcon2 localhost command ok RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 6 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 9 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected connecting... active session is now 'xcon3' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 8 root localhost 9 xcon1 localhost 10 xcon2 localhost 11 xcon2 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead send Mysqlx.Sql.StmtExecute { stmt: "kill_client" args { type: SCALAR scalar { type: V_UINT v_unsigned_int: 9 } } namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk command ok switched to session xcon1 Server disconnected closing session xcon1 switched to session default send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 8 root localhost 10 xcon2 localhost 11 xcon2 localhost command ok RUN drop user xcon1@localhost 0 rows affected RUN drop user xcon2@localhost 0 rows affected RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 7 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 10 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected Mysqlx.Ok { msg: "bye!" } ok show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 10 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 10 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0 open more xconnections than specified max_connections,expect error RUN create user mysqlcon1@localhost identified by 'mysqlcon1' 0 rows affected RUN create user mysqlcon2@localhost identified by 'mysqlcon2' 0 rows affected RUN set @@global.max_connections=2 0 rows affected Test data send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 12 root localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead create and activate new session con1 connecting... active session is now 'con1' send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } expect Mysqlx.Sql.StmtExecuteOk client_id user host 13 mysqlcon1 localhost command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead open 3rd xprotocol connection where 2 sessions already opened connecting... active session is now 'con2' Mysqlx.Error { severity: ERROR code: 5011 msg: "Could not open session" sql_state: "HY000" } closing session con2 switched to session default send Mysqlx.Sql.StmtExecute { stmt: "list_clients" namespace: "xplugin" } client_id user host 12 root localhost 13 mysqlcon1 localhost command ok RUN show status like 'Mysqlx_connections_closed' Variable_name Value Mysqlx_connections_closed 11 0 rows affected RUN show status like 'Mysqlx_connections_accepted' Variable_name Value Mysqlx_connections_accepted 13 0 rows affected RUN show status like 'Mysqlx_connection_accept_errors' Variable_name Value Mysqlx_connection_accept_errors 0 0 rows affected RUN set @@global.max_connections=150 0 rows affected Mysqlx.Ok { msg: "bye!" } ok connecting... Got expected error: Account is locked. (code 1045) ok drop user xplugin@localhost; drop user nonblank@localhost; drop user blank@localhost; drop user abc@localhost; drop user con1@localhost; drop user con2@localhost; drop user mysqlcon1@localhost; drop user mysqlcon2@localhost; drop user ''@localhost; drop user special@localhost; drop user session@localhost; show status like 'Mysqlx_connections_closed'; Variable_name Value Mysqlx_connections_closed 15 show status like 'Mysqlx_connections_accepted'; Variable_name Value Mysqlx_connections_accepted 15 show status like 'Mysqlx_connection_accept_errors'; Variable_name Value Mysqlx_connection_accept_errors 0
Close