(Rails3.2.8, MySQL5.1)
問題
$ rake db:create rake aborted! Access denied for user 'hoge'@'localhost' to database 'hoge_development'
解決策
訂正20121227
権限あるユーザ作成
GRANT ALL ON *.* TO 'hoge'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
おまけ
ユーザ削除
DELETE FROM mysql.user WHERE user='username';
ユーザ一覧
select Host, User, Password from mysql.user;