Information générale
Titre:
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 ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement