Tips

http://www.mysql.gr.jp/mysqlml/mysql/msg/9535

管理権限を誤って削除してしまった際の対処方法。

http://dev.mysql.com/doc/mysql/en/Access_denied.html

If you try to connect as root and get the following error, it means that you don't have an entry in the user table with a User column value of 'root' and that mysqld cannot resolve the hostname for your client: Access denied for user: ''@'unknown' to database mysql

In this case, you must restart the server with the --skip-grant-tables option and edit your `/etc/hosts' or `\windows\hosts' file to add an entry for your host.