How to create read only user mysql from command line
Typing the following command line
mysql> GRANT SELECT ON *.* to user_name@'%' IDENTIFIED BY 'thePassword';
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql>
Tidak ada komentar :
Posting Komentar