LoginSignup
0
0

More than 5 years have passed since last update.

aws: both ssh and mysql connection hang

Posted at

エラー内容

ssh -i ~/.ssh/鍵名.pem ec2-user@IPmysql -h エンドポイント -P 3306 -u root -pの二つのコマンドを打っても何も返答がない状態。少し待っているとERROR 2003 (HY000): Can't connect to MySQL server on [endpoint] (60)というメッセージが。

解決策

EC2 -> security groupsにあるinboundに最新のmy IP addressに更新してあげるだけ。

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