mysql -u root -p'nagiosxi'
MariaDB [nagiosxi]> create user 'ro_chow'@'%' identified by 'dropwater';
Query OK, 0 rows affected (0.05 sec)
MariaDB [nagiosxi]> grant select on nagiosxi.* to 'ro_chow'@'%';
Query OK, 0 rows affected (0.00 sec)
MariaDB [nagiosxi]> flush privileges;
Type CREATE USER 'troy'@'%' IDENTIFIED BY 'troypassword'; and press Enter
o Type GRANT ALL PRIVILEGES ON *.* TO 'troy'@'%' WITH GRANT OPTION; and press Enter
o Type CREATE USER 'troy'@'localhost' IDENTIFIED BY 'troy'; and press Enter
o Type GRANT ALL PRIVILEGES ON *.* TO 'troy'@'localhost' WITH GRANT OPTION; and press Enter
o Type exit and press Enter
CREATE USER 'tony'@'%' IDENTIFIED BY 'Password'; and press Enter
o Type GRANT ALL PRIVILEGES ON *.* TO 'tony'@'%' WITH GRANT OPTION; and press Enter
o Type CREATE USER 'tony'@'localhost' IDENTIFIED BY Password'; and press Enter
o Type GRANT ALL PRIVILEGES ON *.* TO 'tony'@'localhost' WITH GRANT OPTION; and press Enter
o Type exit and press Enter
No comments:
Post a Comment