Your database is not connected to the internet. This is great for security but you cannot connect to the database directly. You can create a VPN connection into VPC and then connect to the database. Or or you could SSH into a Jump Box while using Port Forwarding