MySQL Forums
Forum List  »  Other Migration

Foxpro Remote MySQL Connectivity
Posted by: adeel iqbal
Date: May 11, 2012 01:23AM

hi,
i hav written following code in foxpro to connect with remote mysql database.


lcStringConn="Driver={MySQL ODBC 3.51 Driver};Port=3306;Server=192.168.0.13;Database=test;Uid=root;"
SQLSETPROP(0,"DispLogin",3)
lnHandle=SQLSTRINGCONNECT(lcStringConn)
MyQry="select * from table1"
SQLEXEC(lnHandle, MyQry ,"MyView")
SELECT MyView
BROWSE


secondly, i have disabled the firewall as well.
but still unable to connect with remote mysql database. can someone please guide? thanks in advance

Options: ReplyQuote


Subject
Views
Written By
Posted
Foxpro Remote MySQL Connectivity
8940
May 11, 2012 01:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.