I've created a user using the server administration tools in mySQL workbench and can assign global and database permissions to those users from the administration tool.
Is there a way to assign those users (stored in mysql.users) table level privileges in mySQL Workbench?
Thanks
To GRANT ALL privileges to a user , allowing that user full control over a specific database , use the following syntax: mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Select the statements for only the tables you would like to grant access to and run those queries. For example, if we only wanted to grant access to the Users and Visitors table we would run: GRANT SELECT, SHOW VIEW ON mydatabase. `Users` to 'myuser'@`myhost`; GRANT SELECT, SHOW VIEW ON mydatabase.
I did find a workaround. Not elegant, but it works.
Not pretty, but it works
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With