Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

What are "local connections" and "remote connections" to the database?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from the Federated States of Micronesia: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Solution

Local connections are connections to the database through scripts that run on the same host as the database. Typically, websites use local database connections because they use a database that runs on the same host. The database server name is always "localhost" in this case.

Remote connections are connections to the database through scripts that are not running on the same host. If you e.g. use a merchandise management system on your PC in the office to retrieve data from the database on the web server, you are using a remote connection. If your website uses a database that resides on a server other than the local one, this is also a remote connection. Remote connections use the hostname of the computer where the database is running as the database server name. This is never "localhost" but always a URL or IP address.

For security reasons, most databases do not allow remote connections by default, and for each database user account, a remote connection must explicitly specify which other computer should allow such a connection (wildcards are possible in such cases).

 

Overview of frequently asked questions 

 

 

 


 

  from the Federated States of Micronesia: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap