How to create MySQL read only user

To create a MySQL database user with read-only access to a database, use the following command

In the above SQL statement

DB_NAME = name of the database to which you need to give read-only access.

USER_NAME = username of the read-only user

PASSWORD = password of the read-only user.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *