General information
Title:
Problem connect MySQL
Hi,
I am a new guy in programming with MySQL
i had install MySQL and ODBC into my computer
I can successful to connect with MySQL when setting in ODBC USER Conf.
Then i back to VFP command, and coding as below :-
*****
CON=SQLCONNECT("DRIVER=MySQL ODBC 3.51 Driver;
SERVER=169.254.136.185;UID=ddd;PWD=;DATABASE=eee")
IF CON>0
? "OK"
=SQLEXEC(CON,"SELECT * FROM FFF","TEMP")
SELE TEMP
BROW
ELSE
? "ERROR"
ENDIF
*****
I can not connect to MySQL in program ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only