ok, php technorati, I need server information!

This may seem simple, but how do I access a database with a static IP address that is not on the same hosting server of my website, using mysql code? Any takers?
Thanks in advance!
Batoe
Happy Holidays!!!
