I have a problem where I always need to give simple access to my local account, and don’t want to deal with typing in my root password a million times on my local machine. How do I give perms so i can type ‘mysql’ with my local user and get access to everything?
Share
This gives the local user to the dev machine perms to select from databases, and a local_rails_user account (feel free to sub your own) permissions to run any migrations. Just thought i’d store it here in case anyone else wants to use it. NOT FOR PRODUCTION MACHINES.
Local Rails User:
Local Viewer:
Make sure to ‘flush privileges’ after you’re done.