MySQL

MySql Connector/Net 6.2.0 Alpha has been released

MySQL Connector/Net 6.2.0, a new version of the all-managed .NET driver for MySQL has been released. This is an alpha release and is intended to introduce you to the new features and enhancements we are planning. This release should not be used in a production environment.

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/6.2.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

The new features or changes in this release are

  • Connection pool cleanup timer. We now utilize a timer that cleans idle connections that are no longer connected every 3 minutes
  • We are now using stream and TCP-based timeouts to handle command timeouts. This is more inline with what SqlClient does and should be more reliable than our old timer based approach
  • Completely refactored MySqlConnectionStringBuilder
  • We now support the TableDirect query type
  • Completely refactored our logging system. As part of this, query logs now keep all information relevant to that query together to make it easier to find and read.

What we know may be broken
Documentation is not updated yet. Please let us know what else we broke and how we can make it better!

MySQL Connector/Net 6.1.2 GA has been released

MySQL Connector/Net 6.1.2, a new version of the all-managed .NET driver for MySQL has been released. This is our latest GA release and is suitable for use in all scenarios against servers ranging from version 4.1 to 5.4!

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/6.1.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

This release introduces a couple of exciting new features.

Website Configuration Dialog — This is a new wizard that is activated by clicking a button on the toolbar at the top of the solution explorer. It is meant to work in conjunction with the ASP.Net administration pages.  It makes it easier to activate and set advanced options for the different web providers we include.

Session State Provider — We are now including a session state provider that allows you to store your websites state in a MySql server.

Support for native output parameters — With this release we now support native output parameters when connected to a server that supports them. Currently we know that includes 6.0.8 and later servers.  It also will include 5.4 servers.

Changed GUID type — We have changed our backend representation of a guid type to be CHAR(36).  We are doing this because we feel users will want to use the server UUID() function to populate a guid table and UUID generates a 36 character string.  Developers of older applications can add ‘old guids=true’ to the connection string and the old binary(16) type will be used.

This release also includes a slew of bug fixes made to the 5.2 and 6.0 trees.  Please check the release notes and change log for a complete list of those changes.  Please let us know what else we broke and how we can make it better!

MySql Connector/Net 6.1.1 beta has been released

MySQL Connector/Net 6.1.1, a new version of the all-managed .NET driver
for MySQL has been released. This is a beta release and is intended to
introduce you to the new features and enhancements we are planning. This
release should not be used in a production environment.

It is now available in source and binary form from
[http://dev.mysql.com/downloads/connector/net/6.1.html] and mirror sites
(note that not all mirror sites may be up to date at this point of time
- if you can’t find this version on some mirror, please try again later
or choose another download site.)

This release introduces a couple of exciting new features.

  • Website Configuration Dialog — This is a new wizard that is activated
    by clicking a button on the toolbar at the top of the solution explorer.
    It is meant to work in conjunction with the ASP.Net administration
    pages.  It makes it easier to activate and set advanced options for the
    different web providers we include.
  • Session State Provider — We are now including a session state provider
    that allows you to store your websites state in a MySql server.
  • Support for native output parameters — With this release we now support
    native output parameters when connected to a server that supports them.
    Currently we know that includes 6.0.8 and later servers.  It also will
    include 5.4 servers.
  • Changed GUID type — We have changed our backend representation of a
    guid type to be CHAR(36).  We are doing this because we feel users will
    want to use the server UUID() function to populate a guid table and UUID
    generates a 36 character string.  Developers of older applications can
    add ‘old guids=true’ to the connection string and the old binary(16)
    type will be used.

 
What we know may be broken

  • Documentation is not updated yet.
  • Our entity framework support currently treats both binary(16) and
    char(36) columns as  guids.
  • Please let us know what else we broke and how we can make it better!

MySql Connector/Net source code has a new home!

I would like to proudly announce that we have migrated our Connector/Net source code repositories to LaunchPad (www.launchpad.net) and are using BZR for our source control.  We have taken our old public SVN repository (http://svn.mysql.com/svnpublic/connector-net/) offline. 

We will be using LaunchPad for source control and feature management.  This means we’ll use blue prints and the series system.  We will continue to use our existing bugs database found at bugs.mysql.com and our existing forum found at forums.mysql.com.

You can find the new source repositories for Connector/Net at https://launchpad.net/connectornet.  If you have any questions about how this affects you, please don’t hesitate to send me an email.

mysql connector/net 6.0.4 has been released

MySQL Connector/Net 6.0.4, a new version of the all-managed .NET driver
for MySQL has been released.  This is the first post-GA release of the new
6.0 connector and includes several bug fixes from the initial GA release. 

This release is approved for use in all scenarios and officially
supports MySQL servers 4.1 and higher.   It is now available in source and binary form from
[http://dev.mysql.com/downloads/connector/net/6.0.html] and mirror sites
(note that not all mirror sites may be up to date at this point of time
- if you can’t find this version on some mirror, please try again later
or choose another download site.)

IMPORTANT
We have had some reports of installer problems with this package. We are working hard to find the problem. For now it appears that making sure your system is fully updated sometimes helps.  We will release a fix as 6.0.5 once we have solved this issue.

Fixes from 6.0.3
- fixed regression with using stored procedures with datasets (bug #44460)
- fixed compilation under Visual Studio 2005 (bug #44822)
- fixed support for bool data type in entity framework support
- fixed regression where a user could no longer call GetBytes on a GUID column (bug #44507)
- made some fixes to the syntax coloring of sql inside Visual Studio
- fixed display name of triggers inside server explorer
- fixed trigger editing
- fixed tokenization of escaped backslashes (bug #44960)
- fixed conversion of binary(16) type to GUID for entity framework models (bug #44986)
- fixed global Add New menu options with the Visual Studio integration
- improved ad-hoc registration utility so that it handles VS 2005 and VS 2008 properly
- fixed sql that is generated for commands in data set (bug #44512)

New features and improvements
- added Sun Connect registration
- unsigned values are now handled.  Please read the release notes!
- migrated from CTC to VSCT for our menus and buttons.  Also the VisualStudio project will also
  now load and build under VS2005 or VS2008 loading the proper targets files as needed

Enjoy!

new wiki for connector/net

We have started a new project wiki for MySQL Connector/Net.  It’s a little light in content right now but should grow rapidly.  It can be found here.  Please let us know what we can do better.

mysql connector/net 6.0.3 GA has been released

MySQL Connector/Net 6.0.3, a new version of the all-managed .NET driver for MySQL has been released.  This is the first GA release of the new 6.0 connector and introduces several new features and enhancements.  This release is approved for use in all scenarios and officially supports MySQL servers 4.1 and higher.   We had three major goals with this release:  speed, entity framework support, and a better Visual Studio experience.  I’m happy to report that we have met all three.

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/6.0.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

Fixes from 6.0.2

  • fixed broken connection prompting
  • fixed installer that was no longer referencing the right folders for Visual Studio assemblies [bug #44141]
  • made integer column types returned with table and column collections use the same data type when referencing MySql 4.1 servers and MySql 5.0+ servers (bug #44123)
  • lots of unreported bug fixes found in our newly rewritten DDEX provider

New features and improvements

  • Massive speedups.  We have increased the speed of the provider.  In many situations it now matches or exceeds the speed of the native C connector.
  • SQL tokenizing has been improved dramatically.  Not only is it substantially faster (approx 40%) it also now uses a completely rewritten tokenizer that supports all types of stored procedure comments.
  • Added UDF schema collection
  • Implement initial Entity Framework support
  • Improved Visual Studio integration

Visual Studio improvements

We have completely rewritten our Visual Studio integration bits and are delivering several exciting features with it.  Here’s a look at some of those features:

1.  Now uses the same toolbars and commands as SQL Server so the integration is much more seamless.
2.  Uses the native code editor which means code splitting and syntax highlighting.
3.  Change script generation
4.  And many more smaller features…..

Enjoy!

mysql connector/net 5.2.6 has been released

MySQL Connector/Net 5.2.6, a new version of the all-managed .NET driver for MySQL has been released.  This release is of GA quality and is suitable for  use in production environments.  We strongly urge you to  review the change log that is shipped with the product for a thorough review of the changes.

We have a ton of fixes in this release so please review the changelog and see if your favorite bug has been fixed.  This version officially supports all versions of MySQL from 4.1 and later.

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/5.2.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

Changes since 5.2.5

  • cleaned up how stored procedure execution operated when the user does or does not have execute privs on the routine (bug #40139)
  • fixed problem with datetime formatting that causes an extra space to be included between the date and time when sent to the server (bug #41021)
  • fixed sproc parameter parsing so that a space between the type and size spec would not cause a problem (bug #41034)
  • removed code from profile provider that overrode Name and Description properties in error.  This had the effect of not allowing you to override those values in the web.config (ug #40871)
  • fixed "metadatacollections" collection to include foreign key columns
  • fixed GetAllProfiles (which is used by several methods).  It had a typo in the SQL and was not including several important columns (bug #41654)
  • fixed problem where the core method GetUser was not properly checking the application id when retrieving user id values.  This would mean that in some cases methods like ValidateUser would return success when they shouldn’t.  (bug #42574)  This triggered several other cleanups in all the providers
  • fixed problem with execution of LOAD DATA LOCAL INFILE (which also affected MySqlBulkLoader). When the driver encountered some type of error opening the local file for transport it would still attempt to close the file which would yield a null reference exception (bug #43332)
  • fixed Sql null value exception when an attempt was made to reset the password and require question and answer was false.  (bug #41408)
  • fixed MySqlDataReader.GetGuid to be more robust in how it attempts to read guid values (bug #41452)
  • fixed bug where attempting to clear a pool twice would result in a null reference exception (bug #42801)
  • Fixed problem with index column schema collection
  • Fixed RemoveUsersFromRoles and DeleteRole where they were not calling transactionscope.Complete. This meant that on systems where the provider tables are transaction aware the changes could be rolled back in every case (bug #43553)
  • Fixed typo in the collection returned when you request the MetaDataCollections collection.  The NumberOfRestrictions column was missing the trailing s. (bug #43990)
  • fixed index and index column schema collections that would fail if you specified the any restrictions more specific than table name (bug #43991)
  • removed a couple of unnecessary lines from NativeDriver.Open() (bug #44028)
  • added connection string option ‘use affected rows’.  (bug #44194)
  • changed MySqlPool so that a freshly pulled connection will issue it’s ping and reset outside of the idlepool lock.  This lessens some of the contention on the idle pool.

Enjoy!

mysql connector/net 6.0.2 beta has been released

Hi,
MySQL Connector/Net 6.0.2, a new version of the all-managed .NET driver for MySQL has been released.  This is a beta release and is intended to introduce you to the new features and enhancements we are planning.  This release should not be used in a production environment.

This release was quickly pushed out due to a problem that caused 6.0.1 to not register with Visual Studio correctly.  We also made a small correction to a previous bug fix.  SQL generated from entity framework for stored procedures will now not directly reference the schema.  This allows the model to move to a different database without need of change.  We had previously made this change for tables but failed to do so for procedures.

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/6.0.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

Please take this version for a test drive and let us know what works and what doesn’t.

mysql connector/net 6.0.1 beta has been released

MySQL Connector/Net 6.0.1, a new version of the all-managed .NET driver for MySQL has been released. This is a beta release and is intended to introduce you to the new features and enhancements we are planning. This release should not be used in a production environment.

We had three major goals with this release. Speed, Entity Framework support, and a better Visual Studio experience. I’m happy to report that we have met all three. Please see the complete list of changes below.

It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/6.0.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)

  • Massive speedups. We have increased the speed of the provider. In many situations it now matches or exceeds the speed of the native C connector.
  • SQL tokenizing has been improved dramatically. Not only is it substantially faster (approx 40%) it also now uses a completely rewritten tokenizer that supports all types of stored procedure comments.
  • Added UDF schema collection
  • Implement initial Entity Framework support (see below)
  • Improved Visual Studio integration (see below)

Entity Framework support
Yes, we are late to the party but we are here. I apologize for the delays related to this release and I hope that those of you looking to use MySQL with the entity framework will still want to give us a look. This releases uses a entity framework engine that was completely developed in-house and is, therefore, licensed in exactly the same way as our core provider. Please remember that this is an alpha release and we are certain that you will find databases that will not reverse-engineer correctly or you will build models or queries that will not generate correctly. Please file those as bug reports and include all the information you can. We’ll quickly get to those as we are going to move as quickly as possible to GA.

Visual Studio improvements
We have completely rewritten our Visual Studio integration bits and are delivering several exciting features with it. Here’s a look at some of those features:

1. Now uses the same toolbars and commands as SQL Server so the integration is much more seamless.
2. Uses the native code editor which means code splitting and syntax highlighting.
3. Change script generation
4. And many more smaller features…..

Please take this version for a test drive and let us know what works and what doesn’t.

Go to Top