Home Sql Mysql-example Mysql Permission



Mysql Permission
Posted on: January 24, 2009 at 12:00 AM
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.

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:-

mysql> show grants;

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)

Related Tags for Mysql Permission:
sqlmysqlcdatabasecomlisttableantdataiouserpasswordwordrminamethistabcheckconnectforrantnattohostpermissionusernamebasessiwsbiecanliuseulpeartcegrantinrmpasspartasmntparoscaosesaseallicumecombinationbinsessbeforeatanymykisisshallandarccrtssrdthswstaccessabablatihatmismindonombomo


More Tutorials from this section

Ask Questions?    Discuss: Mysql Permission  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.