I am new to the DBMS administration side and today I am collecting a new database (using MySQL) when I noticed this. After granting the user privileges for the first time, another grant is created that looks like
GRANT USAGE on *.* TO user IDENTIFIED BY PASSWORD password
The documentation says that the USAGE privilege means "no privileges", so I assume that it provides the work hierarchically, and perhaps the user should have some privilege for all databases, so what does it serve for everyone?
I also do not understand why there is an IDENTIFIED BY in it when the grant I created does not have it (mainly because I do not understand what the IDENTIFIED BY consists of).
Edit: Sorry for not specifying this initially, the grants were
GRANT ALL PRIVILEGES ON database.* TO admin_user GRANT SELECT, INSERT, UPDATE, DELETE ON database.* TO user
database mysql privileges grant
John M Naglick Jan 24 '10 at 6:54 2010-01-24 06:54
source share