Senin, 24 September 2018

How to create read only user mysql from command line

  Tidak ada komentar
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)


Tidak ada komentar :

Posting Komentar