|
Connecting to a Remote MYSQL database? |
Iniciado por ale_aragao, 30,ene. 2004 14:45 - 1 respuesta |
| |
| | | |
|
| |
Publicado el 30,enero 2004 - 14:45 |
HOw can I do that? Connect to a remote database, in internet for an example. thanks |
| |
| |
| | | |
|
| | |
| |
Publicado el 30,enero 2004 - 18:19 |
Try the following to see whether it works or not: nCnx is int sReq is string = "Init" sUser is string = "" sPassword is string = "" sDriver is string = "mySql" sDataSource is string sDatabase is string = "test" // change this if needed sDataSource = "localhost" // just change it into an IPAddress e.g. " 64.168.1.2" nCnx=sqlConnect(sDataSource, sUser, sPassword, sDatabase, sDriver) if nCnx > 0 Then info("Connected...") Else info("Not Connected...") End SqlClose(sReq) sqlDisconnect() //Assumption, you must have some sort of IIS being ON or ping the IPAdress //first from another machine on the net before executing the above Thanks, Regs, King
HOw can I do that? Connect to a remote database, in internet for an example. thanks |
| |
| |
| | | |
|
| | | | |
| | |
|