mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 01:37:54 +00:00
8 lines
419 B
Plaintext
8 lines
419 B
Plaintext
-- Grants for 'sally'@'%'
|
|
CREATE USER IF NOT EXISTS 'sally'@'%';
|
|
ALTER USER 'sally'@'%' IDENTIFIED WITH 'mysql_native_password' REQUIRE NONE PASSWORD EXPIRE DEFAULT ACCOUNT UNLOCK;
|
|
GRANT INSERT (city) ON `sakila`.`city` TO 'sally'@'%';
|
|
GRANT SELECT (DateCreated, PaymentStat, PckPrice, SANumber) ON `test`.`t` TO 'sally'@'%';
|
|
GRANT SELECT (city_id) ON `sakila`.`city` TO 'sally'@'%';
|
|
GRANT USAGE ON *.* TO 'sally'@'%';
|