Hello everyone,

About one problem of using open(...) to connect ODBC on remort server.

I could successfully use the following code to open localhost mysql :
----------------------------------------
db := open("myodbc3-test", "o","localhost","root","1234") | stop("can't open 
database.")
----------------------------------------

That is :
DSN = myodbc3-test
hostname = localhost
username = root
password = 1234

When I want to connect the database on another server(212.94.162.125) with the 
same database format, I tried the following code:
----------------------------------------
db := open("myodbc3-test", "o","212.94.162.125","root","1234") | stop("can't 
open database.")
----------------------------------------

The program also connect 'localhost' on this pc and it is successful, but not 
the database on 212.94.162.125.

What is wrong with the code?

Song



_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to