OLE DB Consumer using MySql

forum.connectivity (1998-2005) & forum.td.connectivity (2005-2010)
Fabricio Suárez

OLE DB Consumer using MySql

Post by Fabricio Suárez » 26 Sep 2008, 00:24

 Posted by:  Fabricio Suárez 

Hi NG:

Does anyone have an example of OLE DB Consumer using MySql??

TIA

Fabricio

Jean-Philippe Victoire

Re: OLE DB Consumer using MySql

Post by Jean-Philippe Victoire » 06 Oct 2008, 20:57

 Posted by:  Jean-Philippe Victoire 

hi Fabricio,

I installed myoledb v3.

sample :
Set SqlUser = toto
Set SqlPassword = toto
Set SqlDatabase = sDATABASE
Set SqlUDL = "Provider=MySqlProv;Location=" || sSERVER
If NOT SqlCreateSession( hSgAST, SqlUDL)
Return FALSE
If NOT SqlCreateStatement( hSgAST, hSqlgAST )
Return FALSE

Good luck

Return to “td.connectivity”

Who is online

Users browsing this forum: [Ccbot] and 0 guests