Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: MySQL
Miscellaneous
Thread ID:
00746140
Message ID:
00746152
Views:
16
LOCAL lihdbc,lcCS
* if you uses driver MySQL (version 2.5x)
=SQLSETPROP(0,"DispLogin",3)
lcCS="driver={MySQL};DB=database_name;SERVER=localhost;"+;
     "PORT=3306;OPTION=131073;STMT=;"+;
     "UID=UserID;PWD=Password;"
lihdbc=SQLSTRINGCONNECT(lcCS)


* if you uses driver MySQL ODBC 3.51 Driver
lcCS="driver={MySQL ODBC 3.51 Driver};DB=database_name;SERVER=localhost;"+;
     "PORT=3306;OPTION=131073;STMT=;"+;
     "UID=UserID;PWD=Password;"
lihdbc=SQLSTRINGCONNECT(lcCS)
MartinJ

>Hi all,
>
>Can I connect in MySQL without use ODBC ? If no then how to create a DSN automatically ?
>
>Many thanks
>
>Vinicius Ribeiro
"Navision is evil that needs to be erazed... to the ground"

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

Click here to load this message in the networking platform