• The
table scope columns determine whether to reject or permit incoming connections. For
user
permitted connections, any privileges granted in the
Any privilege granted in this table applies to all databases on the server.
Note
Because any global privilege is considered a privilege for all databases,
any global privilege enables a user to see all database names with
DATABASES
• The
table scope columns determine which users can access which databases from which hosts.
db
The privilege columns determine which operations are permitted. A privilege granted at the database
level applies to the database and to all objects in the database, such as tables and stored programs.
• The
table is used in conjunction with the
host
to several hosts. For example, if you want a user to be able to use a database from several hosts
in your network, leave the
table with a row for each of those hosts. This mechanism is described more detail in
"Access Control, Stage 2: Request
Note
The
UPDATE, and DELETE. It is not affected by statements such as
REVOKE
not use this table at all.
• The
and
tables_priv
They apply at the table and column levels rather than at the database level. A privilege granted at the
table level applies to the table and to all its columns. A privilege granted at the column level applies
only to a specific column.
• The
table applies to stored routines. A privilege granted at the routine level applies
procs_priv
only to a single routine.
The server uses the user, db, and
stages of access control (see
and
tables are shown here. The
user
db
as described in
Section 6.2.5, "Access Control, Stage 2: Request
Table 6.3.
and
user
db
Table Name
Scope columns
Privilege columns
Privilege System Grant Tables
or by examining the
value empty in the user's
Host
Verification".
table must be modified directly with statements such as INSERT,
host
that modify the grant tables indirectly. Most MySQL installations need
tables are similar to the
columns_priv
tables in the
host
Section 6.2, "The MySQL Access Privilege
host
Table Columns
user
Host
User
Password
Select_priv
Insert_priv
Update_priv
Delete_priv
Index_priv
Alter_priv
Create_priv
Drop_priv
Grant_priv
580
table indicate the user's global privileges.
user
table of INFORMATION_SCHEMA.
SCHEMATA
table when you want a given
db
table row, then populate the
db
db
database at both the first and second
mysql
table is similar to the
db
Verification".
SHOW
table row to apply
db
host
Section 6.2.5,
and
GRANT
table, but are more fine-grained:
System"). The columns in the
table but has a specialized use
db
Host
Db
User
Select_priv
Insert_priv
Update_priv
Delete_priv
Index_priv
Alter_priv
Create_priv
Drop_priv
Grant_priv
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers