Category Archives: aws-rds

RDS access from my own computer using apache server

Hi guys i m trying to access my RDS instance from my computer using apache in wamp after fiddling around i found out about the security group i checked the security group and made it all traffic all ports all ips i even tried to make it my ip but when i tried to run a script in my computer the script is <?php $conn = new mysqli("","xxxxxxxxx","xxxxxx","xxxxx"); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } else { echo "yess"; } ?>

this gave me error "Connection failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. " what to do? any idea would be appreciated.