LoginSignup
0
1

More than 3 years have passed since last update.

[MySQL][備忘録]接続が出来ないときはポートも確認!!

Posted at

問題

MySQLへローカルなのに接続できない

原因と解決策

参考元 https://askubuntu.com/questions/272077/port-3306-appears-to-be-closed-on-my-ubuntu-server

どうやら設定ファイルによりlocalhostに制限されているみたいです。
ということで行頭に#を付けてコメントアウト!!
(1行○○消しても良いです)

修正前

bind-address 127.0.0.1

修正後

#bind-address 127.0.0.1

最後に

意外と気づかないところなのでお忘れなく!!

0
1
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
1