Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem connect MySQL
Message
De
06/10/2004 03:31:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem connect MySQL
Divers
Thread ID:
00949047
Message ID:
00949047
Vues:
45
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
Fil
Voir

Click here to load this message in the networking platform