MINI MINI MANI MO
create user unpriv@localhost;
set password for unpriv@localhost = password('x');
Warnings:
Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead
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.");
client_id user host sql_session
1 root localhost $SESSION
command ok
Got expected error: Invalid number of arguments, expected 0 but got 1 (code 5015)
connecting...
active session is now 'aux'
client_id user host sql_session
1 root localhost $SESSION
2 root localhost $SESSION
command ok
switched to session default
client_id user host sql_session
1 root localhost $SESSION
2 root localhost $SESSION
command ok
Got expected error: Invalid number of arguments, expected value for 'id' (code 5015)
command ok
client_id user host sql_session
1 root localhost $SESSION
command ok
connecting...
active session is now 'unpriv'
Should list unprivs session only
client_id user host sql_session
3 unpriv localhost $SESSION
command ok
Got expected error: You are not owner of thread (code 1095)
switched to session default
client_id user host sql_session
1 root localhost $SESSION
3 unpriv localhost $SESSION
command ok
command ok
client_id user host sql_session
1 root localhost $SESSION
command ok
Mysqlx.Ok {
msg: "bye!"
}
ok
drop user unpriv@localhost;
uninstall plugin mysqlx;
OHA YOOOO