Usually remote access to MySQL database is disabled for security reasons. However, if you need to provide remote access to MySQL, just follow these steps.
remote-access
How to create a read-only MySQL user?
Sometimes you need to create a read-only MySQL user. You can follow these steps and use these ready made commands to create a read-only MySQL user.