MINI MINI MANI MO
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 SCHEMA xtest DEFAULT CHARSET 'utf8mb4';
CREATE TABLE xtest.mytable (a INT);
CREATE TABLE xtest.mytable2 (a INT, doc JSON);
CREATE VIEW xtest.myview AS SELECT 1;
command ok
0 rows affected
0 rows affected
0 rows affected
name type
books COLLECTION
fakecoll VIEW
fakexview VIEW
mytable TABLE
mytable2 TABLE
myview VIEW
xdoc COLLECTION_VIEW
command ok
Got expected error: Unknown database 'invalid' (code 1049)
name type
mytable TABLE
mytable2 TABLE
command ok
name type
command ok
Got expected error: No database selected (code 1046)
0 rows affected
name type
books COLLECTION
fakecoll VIEW
fakexview VIEW
mytable TABLE
mytable2 TABLE
myview VIEW
xdoc COLLECTION_VIEW
command ok
name type
fakecoll VIEW
fakexview VIEW
command ok
0 rows affected
Records: 0 Duplicates: 0 Warnings: 0
Field Type Null Key Default Extra
doc json YES null
_id varchar(32) NO PRI null STORED GENERATED
nothing int(11) YES null
0 rows affected
name type
books TABLE
command ok
name type
books TABLE
fakecoll VIEW
fakexview VIEW
mytable TABLE
mytable2 TABLE
myview VIEW
xdoc COLLECTION_VIEW
command ok
0 rows affected
name type
fakecoll VIEW
fakexview VIEW
mytable TABLE
mytable2 TABLE
myview VIEW
xdoc COLLECTION_VIEW
command ok
name type
processlist VIEW
command ok
name type
PROCESSLIST VIEW
command ok
Collection with index
---------------------
command ok
command ok
name type
fruit COLLECTION
command ok
Removing `_id` from collection
------------------------------
0 rows affected
Records: 0 Duplicates: 0 Warnings: 0
name type
fruit TABLE
command ok
Removing `_id` and index from collection
----------------------------------------
command ok
name type
fruit TABLE
command ok
Mysqlx.Ok {
msg: "bye!"
}
ok
DROP SCHEMA IF EXISTS xtest;
UNINSTALL PLUGIN mysqlx;
OHA YOOOO