A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/server/reference/system-tables/the-mysql-database-tables/mysql-db-table below:

mysql.db Table | MariaDB Documentation

mysql.db Table | MariaDB Documentation
  1. Reference
  2. System Tables
  3. The mysql Database Tables
mysql.db Table

The mysql.db table contains information about database-level privileges. The table can be queried and although it is possible to directly update it, it is best to use GRANT for setting privileges.

Note that the MariaDB privileges occur at many levels. A user may not be granted a privilege at the database level, but may still have permission on a table level, for example. See privileges for a more complete view of the MariaDB privilege system.

This table uses the Aria storage engine.

The mysql.db table contains the following fields:

Host (together with User and Db makes up the unique identifier for this record. Until MariaDB 5.5, if the host field was blank, the corresponding record in the mysql.host table would be examined. From MariaDB 10.0, a blank host field is the same as the % wildcard.

Database (together with User and Host makes up the unique identifier for this record.

User (together with Host and Db makes up the unique identifier for this record.

Can perform SELECT statements.

Can perform INSERT statements.

Can perform UPDATE statements.

Can perform DELETE statements.

User can grant privileges they possess.

Can create an index on a table using the CREATE INDEX statement. Without the INDEX privilege, user can still create indexes when creating a table using the CREATE TABLE statement if the user has have the CREATE privilege, and user can create indexes using the ALTER TABLE statement if they have the ALTER privilege.

Acquire explicit locks using the LOCK TABLES statement; user also needs to have the SELECT privilege on a table in order to lock it.

Can change the characteristics of a stored function using the ALTER FUNCTION statement.

Create, drop and alter events.

The Acl_database_grants status variable indicates how many rows the mysql.db table contains.

This page is licensed: CC BY-SA / Gnu FDL


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4