Database on different server - setting other than localhost?
Permalink
Good morning,
I know this is isn't ideal but I'm looking to host my database separately from my files. What setting do I put in the site.php file instead of 'localhost'?
Thanks
Chris
I know this is isn't ideal but I'm looking to host my database separately from my files. What setting do I put in the site.php file instead of 'localhost'?
Thanks
Chris
Thanks JBX.
So I could enter in 'http://174.121.85.92/~execms/' if my database was located there?
Thanks,
Chris
So I could enter in 'http://174.121.85.92/~execms/' if my database was located there?
Thanks,
Chris
Your host will tell you the address of the db in the db setup window. Itll be in the form dbhostserver.yourhostingprovider.somethinghere
You can get it in your cpanel in the mysql admin area.
You can get it in your cpanel in the mysql admin area.
I'm not quite sure where you want me to look. In cpanel in phpMyAdmin?
That should do it.
Jon