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 | : 3.137.213.117
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 : insert_crud_1.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."); create user readuser@localhost identified by 'readuser'; grant select on *.* to readuser@localhost; RUN DROP SCHEMA if EXISTS xplugintest 0 rows affected RUN CREATE SCHEMA xplugintest DEFAULT CHARSET='utf8' 1 rows affected RUN USE xplugintest 0 rows affected RUN CREATE TABLE categories ( categoryid int NOT NULL AUTO_INCREMENT, categoryname varchar(100), categorydescription varchar(200), categoryimei tinyint, categorydecimal decimal(5,2), categorybool bit(1), PRIMARY key (categoryid) ) 0 rows affected Insert multiple rows send Mysqlx.Crud.Insert { collection { name: "categories" schema: "xplugintest" } data_model: TABLE projection { name: "categoryid" } projection { name: "categoryname" } projection { name: "categorydescription" } projection { name: "categoryimei" } projection { name: "categorydecimal" } projection { name: "categorybool" } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 1 } } field { type: LITERAL literal { type: V_STRING v_string { value: "Sports" } } } field { type: LITERAL literal { type: V_STRING v_string { value: "Sports related category" } } } field { type: LITERAL literal { type: V_SINT v_signed_int: 1 } } field { type: LITERAL literal { type: V_DOUBLE v_double: 235.15 } } field { type: LITERAL literal { type: V_BOOL v_bool: false } } } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 2 } } field { type: LITERAL literal { type: V_STRING v_string { value: "Entertaiment" } } } field { type: LITERAL literal { type: V_STRING v_string { value: "Entertaiment related category" } } } field { type: LITERAL literal { type: V_SINT v_signed_int: 2 } } field { type: LITERAL literal { type: V_DOUBLE v_double: 156.17 } } field { type: LITERAL literal { type: V_BOOL v_bool: true } } } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 18 } } field { type: LITERAL literal { type: V_STRING v_string { value: "Cooking" } } } field { type: LITERAL literal { type: V_STRING v_string { value: "Cooking related category" } } } field { type: LITERAL literal { type: V_SINT v_signed_int: 18 } } field { type: LITERAL literal { type: V_DOUBLE v_double: 116.17 } } field { type: LITERAL literal { type: V_BOOL v_bool: true } } } } 3 rows affected last insert id: 18 Records: 3 Duplicates: 0 Warnings: 0 RUN SELECT * FROM categories categoryid categoryname categorydescription categoryimei categorydecimal categorybool 1 Sports Sports related category 1 235.15 0 2 Entertaiment Entertaiment related category 2 156.17 1 18 Cooking Cooking related category 18 116.17 1 0 rows affected "No auto increment column mentioned in projection" send Mysqlx.Crud.Insert { collection { name: "categories" schema: "xplugintest" } data_model: TABLE projection { name: "categoryname" } row { field { type: LITERAL literal { type: V_STRING v_string { value: "GROUND" } } } } } 1 rows affected last insert id: 19 RUN SELECT * FROM categories categoryid categoryname categorydescription categoryimei categorydecimal categorybool 1 Sports Sports related category 1 235.15 0 2 Entertaiment Entertaiment related category 2 156.17 1 18 Cooking Cooking related category 18 116.17 1 19 GROUND null null null null 0 rows affected "Enter NULL values" send Mysqlx.Crud.Insert { collection { name: "categories" schema: "xplugintest" } data_model: TABLE projection { name: "categoryname" } row { field { type: LITERAL literal { type: V_NULL } } } } 1 rows affected last insert id: 20 RUN SELECT * FROM categories categoryid categoryname categorydescription categoryimei categorydecimal categorybool 1 Sports Sports related category 1 235.15 0 2 Entertaiment Entertaiment related category 2 156.17 1 18 Cooking Cooking related category 18 116.17 1 19 GROUND null null null null 20 null null null null null 0 rows affected RUN CREATE TABLE categories_child( col1 INT , col2 JSON , FOREIGN KEY (col1) REFERENCES categories(categoryid)) 0 rows affected send Mysqlx.Crud.Insert { collection { name: "categories_child" schema: "xplugintest" } data_model: TABLE projection { name: "col1" } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 18 } } } } 1 rows affected send Mysqlx.Crud.Insert { collection { name: "categories_child" schema: "xplugintest" } data_model: TABLE projection { name: "col1" } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 100 } } } } "Insert fails as referencing value not present in parent" Mysqlx.Error { severity: ERROR code: 1452 msg: "Cannot add or update a child row: a foreign key constraint fails (`xplugintest`.`categories_child`, CONSTRAINT `categories_child_ibfk_1` FOREIGN KEY (`col1`) REFERENCES `categories` (`categoryid`))" sql_state: "23000" } RUN SELECT * FROM categories_child col1 col2 18 null 0 rows affected "Column mismatch" send Mysqlx.Crud.Insert { collection { name: "categories_child" schema: "xplugintest" } data_model: TABLE projection { name: "col1" } projection { name: "col2" } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 18 } } } } Got expected error: Wrong number of fields in row being inserted (code 5014) RUN SELECT * FROM categories_child col1 col2 18 null 0 rows affected RUN DROP TABLE categories_child 0 rows affected send Mysqlx.Sql.StmtExecute { stmt: "create_collection" args { type: SCALAR scalar { type: V_STRING v_string { value: "xplugintest" } } } args { type: SCALAR scalar { type: V_STRING v_string { value: "maincollection" } } } namespace: "xplugin" } command ok Namespace 'xplugin' is deprecated, please use 'mysqlx' instead Insert multiple rows into a Document column send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"1\",\n \"name\": \"Omar Bras\", \"id\": \"1\"\n}" } } } } row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"2\",\n \"name\": \"Omar Mex\", \"id\": \"2\"\n}" } } } } } 2 rows affected Records: 2 Duplicates: 0 Warnings: 0 RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 0 rows affected "Non unique value for _id member of `doc` " send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"3\",\n \"name\": \"Omar Bras\", \"id\": \"3\"\n}" } } } } row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"2\",\n \"name\": \"Omar Mex\", \"id\": \"4\"\n}" } } } } } Mysqlx.Error { severity: ERROR code: 5116 msg: "Document contains a field value that is not unique but required to be" sql_state: "HY000" } "Error expected as non unique value for _id provided for member of JSON doc " RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 0 rows affected "No _id member for JSON doc" send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"name\": \"Omar Bras\", \"id\": \"3\"\n}" } } } } } Mysqlx.Error { severity: ERROR code: 5115 msg: "Document is missing a required field" sql_state: "HY000" } "Error expected as _id member is not provided for JSON doc " RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 0 rows affected "projection is not allowed for DOCUMENT table" send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT projection { name: "doc" } row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"name\": \"Omar Bras\", \"id\": \"3\"\n}" } } } } } Mysqlx.Error { severity: ERROR code: 5114 msg: "Invalid projection for document operation" sql_state: "HY000" } "Error expected as projection given for DOCUMENT table " RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 0 rows affected "Error when inserting doc as null" send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_NULL } } } } Got expected error: Document is missing a required field (code 5115) RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 0 rows affected "enter null value in doc member" send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"4\",\n \"name\": \"Jackson\", \"id\": null\n}" } } } } } 1 rows affected RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 {"id": null, "_id": "4", "name": "Jackson"} 4 0 rows affected "Insert using transaction" RUN START TRANSACTION 0 rows affected send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"5\",\n \"name\": \"Jimmy \", \"id\": null\n}" } } } } } 1 rows affected RUN SAVEPOINT A 0 rows affected send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"6\",\n \"name\": \"Joe\", \"id\": null\n}" } } } } } 1 rows affected RUN SAVEPOINT B 0 rows affected send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"7\",\n \"name\": \"Jacky\", \"id\": null\n}" } } } } } 1 rows affected RUN ROLLBACK TO SAVEPOINT A 0 rows affected RUN COMMIT 0 rows affected RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 {"id": null, "_id": "4", "name": "Jackson"} 4 {"id": null, "_id": "5", "name": "Jimmy "} 5 0 rows affected RUN LOCK TABLES maincollection READ 0 rows affected send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"7\",\n \"name\": \"Jacky\", \"id\": null\n}" } } } } } Mysqlx.Error { severity: ERROR code: 1099 msg: "Table \'maincollection\' was locked with a READ lock and can\'t be updated" sql_state: "HY000" } "Error as table is locked with read lock" RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 {"id": null, "_id": "4", "name": "Jackson"} 4 {"id": null, "_id": "5", "name": "Jimmy "} 5 0 rows affected RUN UNLOCK TABLES 0 rows affected RUN LOCK TABLES maincollection WRITE 0 rows affected send Mysqlx.Crud.Insert { collection { name: "maincollection" schema: "xplugintest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: "\n{\n \"_id\": \"7\",\n \"name\": \"Jacky\", \"id\": null\n}" } } } } } 1 rows affected RUN SELECT * FROM maincollection doc _id {"id": "1", "_id": "1", "name": "Omar Bras"} 1 {"id": "2", "_id": "2", "name": "Omar Mex"} 2 {"id": null, "_id": "4", "name": "Jackson"} 4 {"id": null, "_id": "5", "name": "Jimmy "} 5 {"id": null, "_id": "7", "name": "Jacky"} 7 0 rows affected RUN UNLOCK TABLES 0 rows affected Mysqlx.Ok { msg: "bye!" } ok RUN SET SESSION lock_wait_timeout= 3 0 rows affected send Mysqlx.Crud.Insert { collection { name: "categories" schema: "xplugintest" } data_model: TABLE projection { name: "categoryname" } row { field { type: LITERAL literal { type: V_STRING v_string { value: "Mountain" } } } } } Got expected error (one of: 1142 1205 ) RUN SELECT * FROM xplugintest.categories categoryid categoryname categorydescription categoryimei categorydecimal categorybool 1 Sports Sports related category 1 235.15 0 2 Entertaiment Entertaiment related category 2 156.17 1 18 Cooking Cooking related category 18 116.17 1 19 GROUND null null null null 20 null null null null null 0 rows affected Mysqlx.Ok { msg: "bye!" } ok LOCK TABLES xplugintest.categories WRITE; RUN SET SESSION lock_wait_timeout= 3 0 rows affected send Mysqlx.Crud.Insert { collection { name: "categories" schema: "xplugintest" } data_model: TABLE projection { name: "categoryname" } row { field { type: LITERAL literal { type: V_STRING v_string { value: "Mountain" } } } } } Got expected error (one of: 1142 1205 ) RUN SELECT * FROM xplugintest.categories While executing SELECT * FROM xplugintest.categories: Got expected error: Lock wait timeout exceeded; try restarting transaction (code 1205) Mysqlx.Ok { msg: "bye!" } ok UNLOCK TABLES; DELETE FROM xplugintest.maincollection; SELECT COUNT(*) FROM xplugintest.maincollection; COUNT(*) 30 DROP SCHEMA if EXISTS xplugintest; DROP USER readuser@localhost; UNINSTALL PLUGIN mysqlx;
Close