php - RDS access from my own computer using apache server -


hi guys m trying access rds instance computer using apache in wamp after fiddling around found out security group checked security group , made traffic ports ips 0.0.0.0/0 tried make ip when tried run script in computer script <?php $conn = new mysqli("xxxxxxxxxxxxxxxxxxxx.rds.amazonaws.com","xxxxxxxxx","xxxxxx","xxxxx"); if ($conn->connect_error) { die("connection failed: " . $conn->connect_error); } else { echo "yess"; } ?>

this gave me error "connection failed: connection attempt failed because connected party did not respond after period of time, or established connection failed because connected host has failed respond. " do? idea appreciated.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -