Hi all
The OleDB feature don't work with MySQL and Fivewin, OleDB is directed to .NET languages.
You can work with MySQL using MyODBC and this example string:
- Code: Select all Expand view
StrDatabase := [mysql] // YouDatabaseName
StrServer := [127.0.0.1] // or remote IP ex: 202.204.69.101
StrPort := 3306
StrUserID := [root]
StrUserPWD := [] // User ROOT don't use password
StrDriver := "MySQL ODBC 3.51 Driver"
StrConnection := "driver={" + StrDriver +"}" + ;
";database=" + StrDatabase + ;
";server=" + StrServer + ;
";uid=" + StrUserID + ;
";pwd=" + StrUserPWD + ;
";option=3;"
You need install in your machine MySQL 4(5 is not recomended to beginning) and MyODBC 3.51(best version).
You need a easy Front-End and you can download MySQL-Front, easy install and easy to use.
A have developed one Library to use all features of ADO, working with MySQL, SQL-Server, Firebird, Access, XLS, XML, SQLite e much more. You can download-it in
http://www.shoppmarketing.com/blogADO e see the examples of use.
The new version accept SQL command directly in Fivewin code e have work to open various diferent connection at same time.