08/10/17 19:33:05 eCp4EOIj
サーバ版 8.04.1 をLAMP構成でインストールした状態から
mysql_secure_installationしたあと
Enter current password for root (enter for none): [空Enter]
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
となって、空Enterが通らない。
ちなみに通常のプロンプトだと mysql -u root ではログインできず、
mysql -u root@localhost や mysql -u 'root'@'localhost' だとOK。
これってどういうこと?
Ubuntu で mysql_secure_installation は使わないほうがいいのかな。