-1

Problem explanation: Not able to connect to RDS-MYSQL instance from another EC2 instance. The other instance is an Amazon-Unix.

listed below are the things tried.

  1. Checked the security group [allowed all].
  2. Was trying to install MYSQL monitor.It wasn't successful.
  3. Installed PHP, httpd successfully.
  4. Updated my connect.php with the username password, dbname and with the endpoint details already.
  5. Error message "mysql_native_passwordConnection closed by foreign host".

1 Answers1

0

Do you mean Amazon RDS instance and you have MySQL DB installed on it. If that's what you are asking, you don't have access to instance level in AWS RDS, only DB level access is permitted. The instance is maintained by AWS, so that you can focus on the DB side.

  • 1
    thanks Amitabh!! i was looking for very basic answer . I am trying to connect to the DB instance from an another EC2 instance. I latter figured it out that by installing yum install mysql -y and gave the user name , password and the end point and then i was able to connect to my instance . – Rangesh Prasanna Venkatesan May 17 '17 at 06:35
  • yep, that's what I said: 'DB level access is permitted'. I guess you solved your query... – Amitabh Ghosh May 18 '17 at 00:58