I have a database named vendzvtq_accounts with a table named "netflix": In the database user vendzvtq_username has SELECT privileges.
I need to restrict vendzvtq_username so that he can only access the netflix table, i'll later add 2 other users and restrict them to manage other tables, but it will be always 1 table per user.
I searched and found this previous question How can I restrict a MySQL user to a particular tables which seemed exactly what i was looking for, so i executed the query:
GRANT SELECT ON vendzvtq_accounts.netflix TO vendzvtq_username@'%'
And got this error (cannot post images):
https://i.stack.imgur.com/sBfIw.png
So i searched for error #1142 and this has been the result: MySQL Error: #1142 - SELECT command denied to user
But user has already the SELECT privilege in my database: http://i.gyazo.com/7af43ad6f8718a31dae3bb0a040568ac.png
so what should i do?