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.