CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 connect live site to local access database

Print topic Send  topic

Author Message
jokecoat

Posts: 43
Posted: 01/17/2016, 4:39 AM

Hi,

Is it possible to connect a live site to a local database?

I already got the project running on a local machine and the live page connects perfectly with the local database. But when i copy the site to the host (online) i get an error (500).

Any idea?

Best regards
View profile  Send private message
eratech


Posts: 513
Posted: 01/17/2016, 7:54 PM

jokecoat

Not really without some mucking around with firewalls (easy to do badly) to let internet traffic into your computer (security risk to your PC). And then you would need to leave your local machine on all the time (annoying). Not recommended.

You should publish the database to the online host and change the Live connection settings ("Server" tab in the connection property dialog) to point to published database. Depending on the Host you might have to change the Connection settings > Database Library as some options you might have on Dev Local machine might not be on Host.

Cheers

Eric

_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
jokecoat

Posts: 43
Posted: 01/19/2016, 12:22 AM

ok thanks
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.