11
7

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 5 years have passed since last update.

MySQL5.7でSequel Proに接続できない時の対処法

Posted at

さて、Sequel Proでも使うか...と思って接続しようとしたら何やらエラーが出て接続できなかったので、その対処法を残しておきます。

今回のエラーの原因はMySQLのバージョンが5.7.x系によるもので、わりとすぐに直りました。

$ mysql --version
mysql  Ver 14.14 Distrib 5.7.10, for osx10.10 (x86_64) using  EditLine wrapper

解決策

以下のコマンドでOKです。

$ mysql_upgrade -u root -p
$ mysql.server restart

おそらく、下のようなメッセージが表示されるはずです。

$ mysql_upgrade -u root -p
Enter password:
Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv                                 OK
mysql.db                                           OK
・・・
Upgrade process completed successfully.
Checking if update is needed.

これで無事、Sequel Proが使えるようになりました:thumbsup:

参考

11
7
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
11
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?