Database servers usually contain critical data, and ensuring the safety and integrity of that data requires that access control be used. In this chapter you learn about MariaDB access control and user management.
The basis of security for your MariaDB server is this: Users should have appropriate access to the data they need, no more and no less. In other words, users should not have too much access to too much data.
Consider the following:
• Most users need to read and write data from tables, but few users will ever need to be able to create and drop tables.
• Some users might need to read tables but might not need to update them.
• You might want to allow users to add data but not delete data. ...