What IP to use for db-config.php?

Hi,

I have my databases hosted on another server with a different IP address. Which IP do I use for db-config.php (line 16), The IP of my main WP install or my DB server?

Thanks!