ERROR 1045
はまった。
ERROR 1045ってもう見飽きたよ。
$ mysql -u root -D test -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
http://pierre.vg/x/modules/pukiwiki/?MySQL%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB%A1%CADebian%CA%D4%A1%CB
に書いてあるようにmysql_serverにアクセスしてごにょればOK。
$ mysql -uroot mysql> create database test; Query OK, 1 row affected (0.00 sec) mysql> grant all privileges on test.* to mysql_user01@localhost identified by 'password' with grant option; Query OK, 0 rows affected (0.00 sec) mysql> \q Bye