Jump to content

settings.php


bmbc

Recommended Posts

No. If you have mysql installed on the server which your site is running off then you can use localhost as the server is located locally. PHP will fund where the database is automatically. However if your MySQL database is hosted of another server then you'll have to subsitiue localhost with the domain name to the remote server.
Link to comment
https://forums.phpfreaks.com/topic/7574-settingsphp/#findComment-27634
Share on other sites

[!--quoteo(post=365471:date=Apr 17 2006, 03:13 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Apr 17 2006, 03:13 AM) [snapback]365471[/snapback][/div][div class=\'quotemain\'][!--quotec--]
No. If you have mysql installed on the server which your site is running off then you can use localhost as the server is located locally. PHP will fund where the database is automatically. However if your MySQL database is hosted of another server then you'll have to subsitiue localhost with the domain name to the remote server.
[/quote]

I have mysql installed on my service provider so do I put in mysql.mydomain.net?

Thanks for your help too

Charly
Link to comment
https://forums.phpfreaks.com/topic/7574-settingsphp/#findComment-27674
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.