環境
- OS: Windows
- MySQL Command Line Tool 9.5
原因
- PCが強制シャットダウンされて再起動した際に起こりがち。MySQLサーバーが停止されている。
発生した不具合
- DBeaver > Key Retrieval is not allowed.
- DBeaver > Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) [プロセスはコード 1 (0x00000001) で終了しました] このターミナルを Ctrl+D で閉じるか、Enter キーを押して再起動できます。
解決策
- MySQLを再起動する
- [Windows] + [R]で[サービス名を指定して実行]
- services.mscを入力して実行
- MySQL95(自分は9.5を使っているので95になっていると思われる)を停止
- コマンドラインツールの起動とログイン再検証