Mysql Permission

Mysql Permission allows the user to connect to the database, Mysql checks and
use that the particular username/ password and combination has the permission to
connect. All user /host/password combination are listed in this table before any
access can be granted.
Understand with Example
The Tutorial illustrate an example from 'Mysql Permission'. To
understand and grasp example we use the query show grants that grant the
permission to all the user to access the listed table in database of local host.
The password is specified in a encrypted format.
Query:-
Output:-
+----------------------------------------------------------------------------------------------------------------------------------------+
| Grants for root@localhost |
+----------------------------------------------------------------------------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*81F5E21E35407D884A6CD4A731AEBFB6AF209E1B' WITH GRANT OPTION |
+----------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
|

|