Page 1 of 7

What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 12:32 am
by dutch
Dear All,

I would like to know, the best way to move to MySql?
TMySql (LibMySql)
TDolphin
ADO
etc.

Thanks for all idea and recommendation.

Regards,
Dutch

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 2:42 am
by ShumingWang
We use Tmysql.prg since 2004, simple,fast,stable!
Only need link libmysql.lib (export from libmysql.dll by tlib.exe) ,mysql.lib (tmysql.prg mysql.c ),running time need libmysql.dll, no other setting on windows nor exe .
Samples : http://www.xtech.com.cn/down/sample1.prg
http://www.xtech.com.cn/down/sample2.prg

Regards!
Shuming wang

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 10:59 am
by Enrico Maria Giordano
I use ADO because it is engine aware (ie. I can change database engine without changing my code, only the connection string).

EMG

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 2:00 pm
by Rick Lipkin
I like ADO as well for the very same reason Enrico noted.. and if you are using ado you can specify the cursor location. ( local .. very fast )

Unfortunately ADO for MySql is not native and you have to download ( or pay for .. last time I looked ) a run-time client. If you have plans to distribute your app with ADO and have many computers .. you have a distribution problem.

On the flip side, you can use the MySql library that you can ( conveniently ) link into your app ( much like advantage database ) but the syntax is nothing like the standard ADO methodology which is consistent with Sql Server, Oracle, IBM DB2, Access ..

Pros and cons both ways.

Rick Lipkin

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 2:46 pm
by csincuir
I use Eagle1 from Manu Exposito.
It's very easy and very fast for work with MySQL.

Best regards.

Carlos.

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 5:19 pm
by Jack
Enrico,
What about the connection string with ADO .
Could you post a sample .

Should we install an ODBC driver and define something in the control pannel ??

Thanks .

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 6:06 pm
by Rick Lipkin
Jack

Here is some info

MySQL OLEDB
Type OLE DB Provider
Usage Provider=MySQLProv
Manufacturer MySQL
Set example values »

More about this provider »
Standard
Provider=MySQLProv;Data Source=mydb;User Id=myUsername;Password=myPassword;

http://connectionstrings.com/mysql

You still have to find the oledb client ..

Rick Lipkin

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 6:34 pm
by Enrico Maria Giordano
Jack wrote:Enrico,
What about the connection string with ADO .
Could you post a sample .
This is what I'm using:

Code: Select all

Driver={MySQL ODBC 5.1 Driver};Server=IP address;Database=database name;UID=userid;Password=password;Option=133121
Jack wrote:Should we install an ODBC driver and define something in the control pannel ??
For MySQL you have to install the ODBC connector:

http://www.mysql.it/downloads/connector/odbc

EMG

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 6:45 pm
by ukservice
Hello,

Enrico, where can I find more info about ADO and Harbour?.

Is there a book or e-book?.

Thanks. I am lost

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 6:56 pm
by Enrico Maria Giordano
ADO is not tied to a specifical compiler. It's one of the Microsoft framework for connecting to a database engine. You can find the ADO documentation on MSDN:

http://msdn.microsoft.com/en-us/library ... s.85).aspx

Try also:

http://www.w3schools.com/ado/default.asp

EMG

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sat Feb 25, 2012 7:42 pm
by Rick Lipkin

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sun Jul 08, 2012 2:44 pm
by mosh1
dutch wrote:Dear All,

I would like to know, the best way to move to MySql?
TMySql (LibMySql)
TDolphin
ADO
etc.

Thanks for all idea and recommendation.

Regards,
Dutch
Where is TMySql?

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sun Jul 08, 2012 4:10 pm
by DevBr
TDolphin,

Simples, Fast and Easy to use. better solucion for MySQL.

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sun Jul 08, 2012 4:13 pm
by Armando
Friends:

My opinion:

For a new application: ADO, you need to learn 7 commands, yes only seven commands.
If you want move a DBF application to MySql application: TMySql or TDolphin, are the faster way to move.

Regards

Re: What is the best of MySql (lib or class) TMySql, TDolphin

Posted: Sun Jul 08, 2012 9:32 pm
by mosh1
Cannot build dolphin library

# -----------------------------------------------------------------------
# Building dolphin.lib
#
# C COMPILER :BCC
# PRG COMPILER :XHARBOUR
# -----------------------------------------------------------------------
Compiling .\source\prg\tdolpexp.prg
Compiling .\obj\XHARBOUR\BCC\tdolpexp.c
The system cannot find the path specified.
win-make: *** [.\obj\XHARBOUR\BCC\tdolpexp.obj] Error 1
rm .\obj\XHARBOUR\BCC\tdolpexp.c