| 1 |
CREATE USER xuser_native@'localhost' |
| 2 |
IDENTIFIED WITH 'mysql_native_password' BY ''; |
| 3 |
CREATE USER xuser_sha256@'localhost' |
| 4 |
IDENTIFIED WITH 'sha256_password' BY ''; |
| 5 |
CREATE USER xuser_cache2@'localhost' |
| 6 |
IDENTIFIED WITH 'caching_sha2_password' BY ''; |
| 7 |
GRANT ALL ON *.* TO xuser_native@localhost; |
| 8 |
GRANT ALL ON *.* TO xuser_sha256@localhost; |
| 9 |
GRANT ALL ON *.* TO xuser_cache2@localhost; |
| 10 |
-- Expecting success with parameters: REQUIRED plain xuser_native |
| 11 |
-- |
| 12 |
connecting... |
| 13 |
active session is now 'sess0' |
| 14 |
closing session sess0 |
| 15 |
Mysqlx.Ok { |
| 16 |
msg: "bye!" |
| 17 |
} |
| 18 |
switched to session default |
| 19 |
-- Expecting success with parameters: REQUIRED plain xuser_sha256 |
| 20 |
-- |
| 21 |
connecting... |
| 22 |
active session is now 'sess0' |
| 23 |
closing session sess0 |
| 24 |
Mysqlx.Ok { |
| 25 |
msg: "bye!" |
| 26 |
} |
| 27 |
switched to session default |
| 28 |
-- Expecting success with parameters: REQUIRED plain xuser_cache2 |
| 29 |
-- |
| 30 |
connecting... |
| 31 |
active session is now 'sess0' |
| 32 |
closing session sess0 |
| 33 |
Mysqlx.Ok { |
| 34 |
msg: "bye!" |
| 35 |
} |
| 36 |
switched to session default |
| 37 |
-- Expecting success with parameters: DISABLED memory xuser_native |
| 38 |
-- |
| 39 |
connecting... |
| 40 |
active session is now 'sess0' |
| 41 |
closing session sess0 |
| 42 |
Mysqlx.Ok { |
| 43 |
msg: "bye!" |
| 44 |
} |
| 45 |
switched to session default |
| 46 |
-- Expecting success with parameters: DISABLED memory xuser_sha256 |
| 47 |
-- |
| 48 |
connecting... |
| 49 |
active session is now 'sess0' |
| 50 |
closing session sess0 |
| 51 |
Mysqlx.Ok { |
| 52 |
msg: "bye!" |
| 53 |
} |
| 54 |
switched to session default |
| 55 |
-- Expecting success with parameters: DISABLED memory xuser_cache2 |
| 56 |
-- |
| 57 |
connecting... |
| 58 |
active session is now 'sess0' |
| 59 |
closing session sess0 |
| 60 |
Mysqlx.Ok { |
| 61 |
msg: "bye!" |
| 62 |
} |
| 63 |
switched to session default |
| 64 |
Mysqlx.Ok { |
| 65 |
msg: "bye!" |
| 66 |
} |
| 67 |
ok |
| 68 |
DROP USER xuser_native@'localhost'; |
| 69 |
DROP USER xuser_sha256@'localhost'; |
| 70 |
DROP USER xuser_cache2@'localhost'; |