Accessing Databases on Our Computer

Started by G_G, January 15, 2010, 02:22:32 am

Previous topic - Next topic

G_G

Okay so pretty much I want to be able to access my sql database from a website. How would I go doing this?

For example: I have my RMX-OS Database on my computer. I want to be able to have my webpage access that database instead of the one on 000webhost.
I kind of cheated when doing it. I exported my rmxosdb and imported in to one in 000webhost. So thats why I want to access the one on my computer but I've had no luck.

fugibo

You'd have to use an SQL server and configure the webserver to work with that (or use some PhP API that supports remote SQL databases).

EDIT:
Technically, there's some HTML5/JavaScript API or something that allows for local database access, but I highly doubt you're going to get that to work with local SQL.

G_G

Well not sure if I did what you said but I reconfigured Mysql so that it allows access from remote machines. Did that then I forwarded a port that was blocking my site. So its fully working now.