Portal Home > Knowledgebase > Articles Database > Issue with EC2 and RDS connectivity.


Issue with EC2 and RDS connectivity.




Posted by saurabhs, 06-30-2011, 03:58 AM
Hi All, I have created a RDS DB and one EC2 instance, I can connect the db from mysql command line on EC2 instance and windows machine mysql client but not able to connect through any web application php url. for eg. test.com/test.php It is giving me error message Access denied for user user@IP or which name I put in hostname. It is related to connection string. Can any one guide me to fix this issue.

Posted by ideamine, 06-30-2011, 11:04 AM
Hi, Did you provide access privilege to the host IP?

Posted by saurabhs, 06-30-2011, 11:33 AM
Yes, Privilege already provided, I can connect through EC2 command line but not through PHP Script. Any AWS guy help this.

Posted by Madadd, 06-30-2011, 03:46 PM
very hard thing to work out!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
mySQL vs flatfiles (Views: 544)