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