MySQL Server controls client access by using the contents of the grant tables in the mysql database. The grant tables list accounts for clients that are allowed to connect to the server. They also enumerate the privileges that each account holds and that determine what operations it can perform, such as creating tables or updating records. As MySQL development proceeds, it sometimes occurs that new privileges are implemented to go along with new features. For example, in MySQL 5, new features include stored routines and views, each of which is accompanied by privileges that enable clients to use them. The CREATE ROUTINE and CREATE VIEW privileges enable object creation, and other privileges control access to the created objects. To determine whether a new release of MySQL includes new privileges, check the upgrade notes in the installation chapter of the MySQL Reference Manual. When you upgrade MySQL to a version that implements additional privileges compared to your current version, it is not the case that those privileges become part of your existing grant tables automatically. To upgrade your grant tables to the new structure, you should run the mysql_fix_privilege_tables program:
|