So I have for example a table in my database called "Test", I have created a user with SELECT,INSERT & UPDATE
only privileges. This user will be inserting data to the database. Should this user be limited to only having access to the "Test" table or should they also have access to the 3 tables mentioned above?(obviously these tables come standard with mariadb). Sorry probably a silly question but just want to be sure
Asked
Active
Viewed 121 times
2

Derek Pollard
- 6,953
- 6
- 39
- 59

code-is-life
- 175
- 2
- 16
-
https://dev.mysql.com/doc/refman/8.0/en/grant.html – ScaisEdge May 01 '19 at 19:36
-
Is this a question about principle (_should_)? Or are you asking whether a user _does_ have access to these 3 databases? – Rick James May 19 '19 at 04:18
1 Answers
1
If a user is restricted with grants to particular database/tables, they will only see those tables.

danblack
- 12,130
- 2
- 22
- 41