mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
15 lines
418 B
Text
15 lines
418 B
Text
|
--source include/galera_cluster.inc
|
||
|
|
||
|
SHOW VARIABLES LIKE '%password%';
|
||
|
|
||
|
CREATE USER 'user123456'@'localhost';
|
||
|
GRANT SELECT, INSERT, UPDATE ON test.* TO 'user123456'@'localhost';
|
||
|
SET PASSWORD FOR 'user123456'@'localhost' = PASSWORD('A$10abcdDCBA123456%7');
|
||
|
SHOW GRANTS FOR 'user123456'@'localhost';
|
||
|
|
||
|
--connection node_2
|
||
|
SHOW GRANTS FOR 'user123456'@'localhost';
|
||
|
|
||
|
--connection node_1
|
||
|
DROP USER 'user123456'@'localhost';
|