Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connect to mysql
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
00958884
Message ID:
00958898
Views:
19
Hi Kusnardi,

If you don't specify user [and password] then login failed.
I don't know why ADO, across ODBC API, don't call dialog for login.

MartinJ

>Hi,
>
>I tried to connect vfp to mysql using the following code:
>
>
>Connection = CREATEOBJECT("ADODB.Connection")
>lcConnString = "DRIVER={MySQL ODBC 3.51 Driver};" +;
>      "Server=localhost;port=3306;option=;stmt=;" + ;
>      "Database=msg;uid=;pwd=;"
>oConnection.OPEN(lcConnString)
>
>
>And it get error message.
>
>Does anyone know how to connect to mysql? thanks for your help.
>
>regards,
>Kusnardi
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform