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
tDolphin , using it on remote computer
-
- Posts: 166
- Joined: Wed Aug 29, 2012 8:25 am
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Re: tDolphin , using it on remote computer
Frank,
But, if I remember correct, xammp does not allow any sql access from outside the web environment. Better you install the standalone MySql-Server.
in your case the hostname is the name of the pc where xampp is installed.For a connection we have to know the hostname , i have no idea how we can get it or set it.
But, if I remember correct, xammp does not allow any sql access from outside the web environment. Better you install the standalone MySql-Server.
kind regards
Stefan
Stefan
-
- Posts: 166
- Joined: Wed Aug 29, 2012 8:25 am
Re: tDolphin , using it on remote computer
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
It seems not to be efficient when we have a network with many computers.
Frank
test
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Re: tDolphin , using it on remote computer
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
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
kind regards
Stefan
Stefan