Бывает так что у вас пропали полномочия администратора в базе MySQL. Например потерян пароль root. В таком случае, если у вас есть права root системы, на которой работает база, нужно остановить базу:
 
/etc/init.d/mysqld stop
 
потом запустить вручную с опцией --skip-grant-tables
 
/usr/libexec/mysqld --skip-grant-tables
 
После этого база работает в режиме без использования ограничение по доступу.
Теперь можно провести необходимые изменения, например поменять пароль root
 
mysql mysql
mysql>update user set password=password('secret') where user='root';
mysql> flush privileges;
 
и завершить работу базы. 
 
killall mysqld
 
Дальше опять запускаем базу в штатном режиме:
 
/etc/init.d/mysqld start
 
подробнее об опции --skip-grant-tables:
 
--skip-grant-tables
   This option causes the server not to use the privilege system at all, which gives anyone with access to the server unrestricted access to
   all databases. You can cause a running server to start using the grant tables again by executing mysqladmin flush-privileges or mysqladmin
   reload command from a system shell, or by issuing a MySQL FLUSH PRIVILEGES statement after connecting to the server. This option also
   suppresses loading of user-defined functions (UDFs).