Page 1 of 1

tDolphin , using it on remote computer

Posted: Wed Feb 12, 2014 8:55 am
by Franklin Demont
Hello ,

I try to use dolphin or mySql , but i am afraid i do not understand the concept (server - client)

I have installed xAmpp on a computer , //MyComp. I can run it and start MySql and apache.
In tDolphin\samples i can build and execute some prg-files , using as connection data (in connect.ini) :

[mysql3]
host=127.0.0.1 // or localhost
user=root
psw=
flags=0
port=3306
dbname=testmysql

Next step is to run the generated program from a remote computer (in the network).
How can it be done ?

For a connection we have to know the hostname , i have no idea how we can get it or set it.

Frank

Re: tDolphin , using it on remote computer

Posted: Wed Feb 12, 2014 10:52 am
by StefanHaupt
Frank,
For a connection we have to know the hostname , i have no idea how we can get it or set it.
in your case the hostname is the name of the pc where xampp is installed.

But, if I remember correct, xammp does not allow any sql access from outside the web environment. Better you install the standalone MySql-Server.

Re: tDolphin , using it on remote computer

Posted: Wed Feb 12, 2014 12:48 pm
by Franklin Demont
Do i have to install xampp also on the remote computer ? Datadir can be set on the datadir from the server !

It seems not to be efficient when we have a network with many computers.

Frank

Re: tDolphin , using it on remote computer

Posted: Thu Feb 13, 2014 2:02 pm
by StefanHaupt
I hope, I understood you right..

Xampp is only a webserver, that includes a sql modul. But, as I said before, this sql service is not accessible from outside, you can only access it if you have a website, running on that server, with e.g. a java or php app. These can access this sql service.

To run tDolphin normally you can´t use xaampp. Maybe xampp is configurable to open sql for everybody, but I don´t know.

I suggest to install a standalone sql server on one pc in your network. (MySql, SqlLite, MS Sql,...) This pc is now the sql server in your network, accessible from anywhere. Now you can create users and databases. MySql offers a lot of tools to manage the server.

I don´t have any experience ith tDolphin, I didn´t use it so far. But now it should be possible to access your sql server with tDolphin.

I hope this helps a little