What is the best of MySql (lib or class) TMySql, TDolphin
What is the best of MySql (lib or class) TMySql, TDolphin
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
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
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
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
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
I use ADO because it is engine aware (ie. I can change database engine without changing my code, only the connection string).
EMG
EMG
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
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
I use Eagle1 from Manu Exposito.
It's very easy and very fast for work with MySQL.
Best regards.
Carlos.
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
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 .
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 .
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
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
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
This is what I'm using:Jack wrote:Enrico,
What about the connection string with ADO .
Could you post a sample .
Code: Select all
Driver={MySQL ODBC 5.1 Driver};Server=IP address;Database=database name;UID=userid;Password=password;Option=133121
For MySQL you have to install the ODBC connector:Jack wrote:Should we install an ODBC driver and define something in the control pannel ??
http://www.mysql.it/downloads/connector/odbc
EMG
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Hello,
Enrico, where can I find more info about ADO and Harbour?.
Is there a book or e-book?.
Thanks. I am lost
Enrico, where can I find more info about ADO and Harbour?.
Is there a book or e-book?.
Thanks. I am lost
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Try also:
http://www.w3schools.com/ado/default.asp
EMG
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: What is the best of MySql (lib or class) TMySql, TDolphin
Where is TMySql?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
Re: What is the best of MySql (lib or class) TMySql, TDolphin
TDolphin,
Simples, Fast and Easy to use. better solucion for MySQL.
Simples, Fast and Easy to use. better solucion for MySQL.
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
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
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Re: What is the best of MySql (lib or class) TMySql, TDolphin
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
# -----------------------------------------------------------------------
# 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