473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Which MySQL Provider.

I've been given a project to work with which involves connecting to
MySQL from .NET 2.0 app. I've googled looked and there is a metric ton
of different MySQL ADO.NET providers from different people.

Is there a consensus on which one is the most stable, more or less
supported and has good support for the standard MySQL features (e.g.
stored procs)?

Regards.
Feb 2 '07 #1
14 4466
Uli
I would try this:

http://www.mysql.de/products/connector/

Feb 2 '07 #2
Frank Rizzo wrote:
I've been given a project to work with which involves connecting to
MySQL from .NET 2.0 app. I've googled looked and there is a metric
ton of different MySQL ADO.NET providers from different people.

Is there a consensus on which one is the most stable, more or less
supported and has good support for the standard MySQL features (e.g.
stored procs)?
MySql's own: it's GPL-ed (free) though you then also have to GPL your
own software. OR you have to pay 250$+ per developer for a commercial
license.

Core Lab's: it's commercial, but very inexpensive. They had their
problems in the past but it works fairly well.

Unless you're willing to making your own code GPL licensed, i'd go for
core lab's.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 2 '07 #3
Please contact MySQL at:

http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software has to be
GPL

Please note that if you are using MySQL in a "commercial product" then you
need a commercial license anyway.

However I *think* that they mean if you are distributing your product,
rather than using it in-house. If you are just developing an in-house
system using MySQL and connector/.net I don't *think* you need a commercial
license or to publish your code.

If you are producing an in-house product and you are not distributing it,
the GPL places no burden on you whatsoever (i.e. you do not have to make
your code available). The GPL only insists you make your source code
available if you distribute your product (which to most of us mean, "Sell
it" in all practical terms) - and if this were the case, you'd need a
commercial license for MySQL anyway.

Please check this with MySQL. Unless one of MySQL AB's lawyers is posting
here, none of us is qualified to give you an answer vis-a-vis licensing of
MySQL or connector/.net

HTH
Peter
"Frans Bouma [C# MVP]" <pe******************@xs4all.nlwrote in message
news:xn***************@news.microsoft.com...
Frank Rizzo wrote:
>I've been given a project to work with which involves connecting to
MySQL from .NET 2.0 app. I've googled looked and there is a metric
ton of different MySQL ADO.NET providers from different people.

Is there a consensus on which one is the most stable, more or less
supported and has good support for the standard MySQL features (e.g.
stored procs)?

MySql's own: it's GPL-ed (free) though you then also have to GPL your
own software. OR you have to pay 250$+ per developer for a commercial
license.

Core Lab's: it's commercial, but very inexpensive. They had their
problems in the past but it works fairly well.

Unless you're willing to making your own code GPL licensed, i'd go for
core lab's.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

Feb 2 '07 #4
For a supposedly free database, they are certainly very expensive. I
understand charging for the database, but why charge for the driver?

Peter Bradley wrote:
Please contact MySQL at:

http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software has to be
GPL

Please note that if you are using MySQL in a "commercial product" then you
need a commercial license anyway.

However I *think* that they mean if you are distributing your product,
rather than using it in-house. If you are just developing an in-house
system using MySQL and connector/.net I don't *think* you need a commercial
license or to publish your code.

If you are producing an in-house product and you are not distributing it,
the GPL places no burden on you whatsoever (i.e. you do not have to make
your code available). The GPL only insists you make your source code
available if you distribute your product (which to most of us mean, "Sell
it" in all practical terms) - and if this were the case, you'd need a
commercial license for MySQL anyway.

Please check this with MySQL. Unless one of MySQL AB's lawyers is posting
here, none of us is qualified to give you an answer vis-a-vis licensing of
MySQL or connector/.net

HTH
Peter
"Frans Bouma [C# MVP]" <pe******************@xs4all.nlwrote in message
news:xn***************@news.microsoft.com...
>Frank Rizzo wrote:
>>I've been given a project to work with which involves connecting to
MySQL from .NET 2.0 app. I've googled looked and there is a metric
ton of different MySQL ADO.NET providers from different people.

Is there a consensus on which one is the most stable, more or less
supported and has good support for the standard MySQL features (e.g.
stored procs)?
MySql's own: it's GPL-ed (free) though you then also have to GPL your
own software. OR you have to pay 250$+ per developer for a commercial
license.

Core Lab's: it's commercial, but very inexpensive. They had their
problems in the past but it works fairly well.

Unless you're willing to making your own code GPL licensed, i'd go for
core lab's.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

Feb 2 '07 #5
Peter Bradley wrote:
Please contact MySQL at:

http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software has
to be GPL
err... it's very simple:
if you reference/link/use a GPL-ed piece of code in your own code, your
code HAS TO BE licensed under the GPL as well. Read the GPL, it's very
simple.

You can get away by not doing that IF you don't distribute your
application. However, as soon as you distribute your application to
whatever (that is: even another machine!), you ARE violating the
license.
Please note that if you are using MySQL in a "commercial product"
then you need a commercial license anyway.
I don't know the MySql license through and through, but the GPL is
pretty clear: if you create a commercial application, you can still use
the GPL-ed software, as long as you GPL your own software as well.
However I think that they mean if you are distributing your product,
rather than using it in-house. If you are just developing an
in-house system using MySQL and connector/.net I don't think you need
a commercial license or to publish your code.
With licensing issues, 'I think' is not enough. You have to be sure.
GPL is a distribution license, as many others.
This means that if developer A writes a piece of code and uses a
GPL-ed ADO.NET provider, and the software is never distributed by A to
whatever other system (that also includes a co-workers box, that's also
distribution), then A doesn't have to GPL his software. As soon as A
does distribute the code, he will have to license his own code as GPL,
that's the license he has to obey to to be able to USE the gpl-ed
ado.net provider.
If you are producing an in-house product and you are not distributing
it, the GPL places no burden on you whatsoever (i.e. you do not have
to make your code available). The GPL only insists you make your
source code available if you distribute your product (which to most
of us mean, "Sell it" in all practical terms) - and if this were the
case, you'd need a commercial license for MySQL anyway.
in-house distribution is also distribution. Distribution from your
laptop to the server of your customer who uses it in-house is also
distribtion.
Please check this with MySQL. Unless one of MySQL AB's lawyers is
posting here, none of us is qualified to give you an answer vis-a-vis
licensing of MySQL or connector/.net
I can tell you, Mysql's lawyers are very keen on this. So stay on the
safe side: either use a commercial provider or use another database.

FB
>
HTH
Peter
"Frans Bouma [C# MVP]" <pe******************@xs4all.nlwrote in
message news:xn***************@news.microsoft.com...
Frank Rizzo wrote:
I've been given a project to work with which involves connecting
to MySQL from .NET 2.0 app. I've googled looked and there is a
metric ton of different MySQL ADO.NET providers from different
people.
>
Is there a consensus on which one is the most stable, more or less
supported and has good support for the standard MySQL features
(e.g. stored procs)?
MySql's own: it's GPL-ed (free) though you then also have to GPL
your own software. OR you have to pay 250$+ per developer for a
commercial license.

Core Lab's: it's commercial, but very inexpensive. They had their
problems in the past but it works fairly well.

Unless you're willing to making your own code GPL licensed, i'd go
for core lab's.

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 3 '07 #6
Peter Bradley wrote:
Please contact MySQL at:

http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software has to be
GPL
The GPL is very clear: linking to GPL makes everything GPL.

The question is: what is linking.

From a common sense perspective I would say that use of
MySQL classes in the code is linking and use of a configuration
file, reflection and interfaces is not linking.

The last one I would ask about if that is true is MySQL.
Please note that if you are using MySQL in a "commercial product" then you
need a commercial license anyway.
Wrong.

GPL does not care about what you use the software for.
However I *think* that they mean if you are distributing your product,
rather than using it in-house. If you are just developing an in-house
system using MySQL and connector/.net I don't *think* you need a commercial
license or to publish your code.
All the GPL requirements only applies to distributing.
Please check this with MySQL. Unless one of MySQL AB's lawyers is posting
here, none of us is qualified to give you an answer vis-a-vis licensing of
MySQL or connector/.net
I would suggest checking with ones own lawyer.

MySQL has a rather direct interest in telling people to pay.

Arne
Feb 3 '07 #7
Hi Frank,

Most of the commerial database drivers or components won't be free of
charge. Anyway, you can still look for some over open source sites such as
sourceforge:

#ADO.Net drivers for MySql and PostgreSql
http://sourceforge.net/projects/mysqlnet/

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 5 '07 #8
Steven Cheng[MSFT] wrote:
Most of the commerial database drivers or components won't be free of
charge. Anyway, you can still look for some over open source sites such as
sourceforge:

#ADO.Net drivers for MySql and PostgreSql
http://sourceforge.net/projects/mysqlnet/
You know that is the code MySQL Connector for .NET
was based on and that this version has not been
updated since MySQL tookover ByteFX in 2004 ?

Arne
Feb 6 '07 #9
Frans Bouma [C# MVP] wrote:
I can tell you, Mysql's lawyers are very keen on this. So stay on the
safe side: either use a commercial provider or use another database.
They certainly are. I was contacted by one today.

Regards
Feb 6 '07 #10
Frans Bouma [C# MVP] <pe******************@xs4all.nlwrote:
>http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software has
to be GPL

err... it's very simple:
if you reference/link/use a GPL-ed piece of code in your own code, your
code HAS TO BE licensed under the GPL as well. Read the GPL, it's very
simple.
Read though here: http://www.gnu.org/licenses/gpl.txt

It seems to me that if the GNU licensed .NET provider is distributed unaltered
and in binary form, and reference to the license is made, it can be used BY a
commercial product without issue. Consider putting the provider into a
component install package, such as might be the case for a one-click
application. Install binaries only and the commercial application simply
utilitizes them.

It is very clear in the license that any modifications or extensions must be
distributed with source code and also under the GPL. However, USE by a
commercial application does NOT constitute a modification or extension.

As always, consult legal advice, as nobody [especially me] here is qualified
to offer it.
I don't know the MySql license through and through, but the GPL is
pretty clear: if you create a commercial application, you can still use
the GPL-ed software, as long as you GPL your own software as well.
Use? No. Modify or extend, yes.

--
Thomas T. Veldhouse
Key Fingerprint: D281 77A5 63EE 82C5 5E68 00E4 7868 0ADC 4EFB 39F0
Feb 7 '07 #11
Frank Rizzo <no**@none.netwrote:
Frans Bouma [C# MVP] wrote:
> I can tell you, Mysql's lawyers are very keen on this. So stay on the
safe side: either use a commercial provider or use another database.

They certainly are. I was contacted by one today.
How did they get hold of you? Seems no**@none.net wouldn't lead directly to
you ;-)

--
Thomas T. Veldhouse
Key Fingerprint: D281 77A5 63EE 82C5 5E68 00E4 7868 0ADC 4EFB 39F0
Feb 7 '07 #12
Thomas T. Veldhouse wrote:
Frans Bouma [C# MVP] <pe******************@xs4all.nlwrote:
http://www.mysql.com/company/contact/?topic=licensing

before assuming that using connector/net means that your software
has >to be GPL

err... it's very simple:
if you reference/link/use a GPL-ed piece of code in your own code,
your code HAS TO BE licensed under the GPL as well. Read the GPL,
it's very simple.

Read though here: http://www.gnu.org/licenses/gpl.txt
I have, you're wrong.
It seems to me that if the GNU licensed .NET provider is distributed
unaltered and in binary form, and reference to the license is made,
it can be used BY a commercial product without issue.
Nonsense, it's released under the GPL, which is simple: IF you use it,
your software has to be GPL-ed as well. IF they would have used the
LGPL, it would be different. Though that's not the case.

That they distribute it in binary form isn't important, they also
distribute it in sourcecode form if you want to, that's what GPL means
as well: if you distribute a GPL-ed licensed product, you have to
provide the sourcecode if asked.
Consider
putting the provider into a component install package, such as might
be the case for a one-click application. Install binaries only and
the commercial application simply utilitizes them.
that's what linking means in the license. You link to the binary
compiled form, and then the license also is in effect.
It is very clear in the license that any modifications or extensions
must be distributed with source code and also under the GPL.
However, USE by a commercial application does NOT constitute a
modification or extension.
WRONG. The GPL isn't different for this particular provider. What you
say here is WRONG, and can hurt people badly if they follow it. Sorry
if I correct you so harshly, but it's best that people who read your
reply know that what you've said is WRONG.
As always, consult legal advice, as nobody [especially me] here is
qualified to offer it.
Well, I've discussed this matter more than enough with MySql AG to
know what I'm talking about. It's even worse than you might imagine,
read on ->

We wanted to target Mysql in our o/r mapper. So we needed to build
against the Mysql provider. We didnt want to make our stuff GPL-ed so
we considered buying a license for the provider so we could compile our
code against the provider.

However, as we provide a middleware layer, our users develop software
with it, and thus also need a provider instance. If they opt for the
GPL-ed version, THEIR software still has to be GPL-ed. MySql AG told me
this without fuzzy words.

Because we said that might be a problem, they answered: "You can
become a VAR".

err... we're not a store to sell MySql stuff, we just provide support
for their database. As the commercial MySql provider license is
expensive (250+ euro per developer), we opted for a much cheaper
variant, the core-lab one.

It's beyond me why on earth a database vendor would ask money for a
connector to their database. Because: no connector, no database usage.
MySql is, to my knowledge, the only one who asks money for their
connector.

So my advice is always: use a different database: firebird, postgresql
etc.. Not only are these databases better than MySql, you also have a
truly free database at hand without hidden costs nor GPL mess.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 8 '07 #13
Frans Bouma [C# MVP] wrote:
You can get away by not doing that IF you don't distribute your
application. However, as soon as you distribute your application to
whatever (that is: even another machine!), you ARE violating the
license.
With licensing issues, 'I think' is not enough. You have to be sure.
GPL is a distribution license, as many others.
This means that if developer A writes a piece of code and uses a
GPL-ed ADO.NET provider, and the software is never distributed by A to
whatever other system (that also includes a co-workers box, that's also
distribution), then A doesn't have to GPL his software. As soon as A
does distribute the code, he will have to license his own code as GPL,
that's the license he has to obey to to be able to USE the gpl-ed
ado.net provider.
in-house distribution is also distribution. Distribution from your
laptop to the server of your customer who uses it in-house is also
distribtion.
Wrong.

http://www.gnu.org/licenses/gpl-faq....alDistribution

Arne
Feb 9 '07 #14
Frans Bouma [C# MVP] wrote:
Well, I've discussed this matter more than enough with MySql AG to
know what I'm talking about. It's even worse than you might imagine,
read on ->

We wanted to target Mysql in our o/r mapper. So we needed to build
against the Mysql provider. We didnt want to make our stuff GPL-ed so
we considered buying a license for the provider so we could compile our
code against the provider.
The provider is GPL.

If you build against it, then it make sense to call it linking.

If you used a configuration file and Ixxxx all the way, then
I would not consider it linking.

I can not guarantee that MySQL's lawyers would not.
It's beyond me why on earth a database vendor would ask money for a
connector to their database. Because: no connector, no database usage.
MySql is, to my knowledge, the only one who asks money for their
connector.
So my advice is always: use a different database: firebird, postgresql
etc.. Not only are these databases better than MySql, you also have a
truly free database at hand without hidden costs nor GPL mess.
Libraries are usual LGPL for godo reasons.

I think MySQL should drop the dual license crap and bet on making
money on support like Redhat, JBoss etc..

But they decide the license for their code.

Arne
Feb 9 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave | last post by:
I have a MS sql 2000 db that needs to sync with a Mysql db. When a password is changed in the MS SQL table, I need to make sure that the same value is updated in the Mysql db. I dont have any...
4
by: The Bear | last post by:
Has anyone successfully used MySQL with C#? I'm having problems using the Update command Here is the code snippet. I am able to connect to the database. However when I try to update the...
5
by: Steven Blair | last post by:
Hi, Trying to make a connection and getting the following error: "The 'MySQLProv' provider is not registered on the local machine." MySQl is installed and working, I also went to ODBC...
5
by: Tim Bücker | last post by:
Hello. I am trying to get a connection to MySQL using OleDb but it seems that I am making something wrong. I´ve found this source in the net but it doesn´t work for me: ...
4
by: jaYPee | last post by:
I am new to mysql and wondering which one is the best for accessing mysql. I have read this article from mysql website: At present, one can access MySQL using the following 3 interfaces...
5
by: asadikhan | last post by:
Hi, I am trying to configure my asp.net application to work with MySQL using Connector/NET and I wish to use connection pooling. What is the best way to do this? This is what I have so far: ...
2
by: zMisc | last post by:
I am using VB.NET 1.1 and cannot connect to a MySQL (v5) database. I've done the following: 1) Create a DSN for MyODBC. 2) Connect using: Driver=MySQL ODBC 3.51 Driver; Server=localhost; Data...
6
by: webonomic | last post by:
"The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty." I get the error above. It tells me the error is in Line 120: ...
1
by: Carmine [www.thetotalsite.it] | last post by:
Hi, I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. I added these lines to the web.config to make the connector.net able to handle the SqlConnection object (and so to bind it to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.