0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

(macOS) MYSQL@8.0 で、Access denied for user 'root'@'localhost' (using password: NO)を解決する

Last updated at Posted at 2023-01-11
mysql -uroot

上記のコマンドでMySQLサーバーにrootログインしようとしたところ、表題のエラーが発生しました。
※同時に、MySQLプロセスをKillしてもPIDを変えて復活する問題も発生しました。

<原因>
・launchctlによりMySQLが自動で起動していた。

<解決法>
こちらの記事を参考にしました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?