- How to set up slow query log?
- Be sure to change owner
- chown mysql:mysql ~/mysql-slow.log
- Be sure to change owner
- How to create read only user?
- CREATE USER ‘reader’@’%’ IDENTIFIED BY ‘your-password’;
- GRANT SELECT ON gomiboard.* TO ‘reader’@’%’;
- FLUSH PRIVILEGES;
- https://kodejava.org/how-to-create-a-read-only-mysql-user/