Jump to content

Connect to database that isn't localhost


wemustdesign

Recommended Posts

I am currently doing a small script for a company that doesn't have mySql support on there hosting. How would I connect to the database on my hosting account? Currently I am using the following but have tried http://www.mysite.com

 

$database['host']          = localhost;

 

Link to comment
https://forums.phpfreaks.com/topic/183416-connect-to-database-that-isnt-localhost/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.