Dies ist eine alte Version des Dokuments!


LU09a - USER Management - Under Construction

  1. Explain why different users are needed to access a database.
  2. Create a mysql user on the command line and with a sql script
  3. Deleting obsolete user

In a warehouse like Manor or Lafayette, there are different user categories with different authorizations. The general manager has all rights, while the apprentice has much fewer rights. And as we know, a database is a warehouse, not for goods, but for data.

MySQL user management and privileges are essential for controlling access to the database system, ensuring security, and managing user roles. MySQL allows database administrators (DBAs) to create, manage, and assign permissions to users, limiting what actions users can perform on the database. This control helps protect sensitive data, prevent unauthorized changes, and maintain the overall integrity of the database.

  1. User Accounts: MySQL user accounts are created to define who can log in to the MySQL server and what they can access. Each user is identified by a username and a host, which specifies the IP address or domain from which the user can connect.
  2. Privileges: MySQL privileges determine what actions a user can perform. These actions include SELECT (read), INSERT, UPDATE, DELETE, and more. Privileges can be granted at different levels, such as the global level, database level, table level, or even column level.
  3. Roles: MySQL supports roles, which are collections of privileges that can be granted to users as a group. This simplifies managing permissions, especially in large organizations.
  4. Authentication: MySQL supports various authentication methods, including password-based and plugin-based authentication, to verify user identities when they attempt to connect.
English Deutsch
obsolete veraltet
commodity Handelsgut, Ware

Volkan Demir

  • modul/m290/learningunits/lu06/theorie/01.1729158260.txt.gz
  • Zuletzt geändert: 2024/10/17 11:44
  • von vdemir