Bug #12551 Error at the ConnectionString - Property
Submitted: 12 Aug 2005 12:36 Modified: 30 Aug 2005 4:22
Reporter: Stefan Krejci Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:MySQL 5 OS:Windows (Win2000)
Assigned to: Reggie Burnett CPU Architecture:Any

[12 Aug 2005 12:36] Stefan Krejci
Description:
At Delphi 2005 Prof: 

File --> New --> Windows Forms --> dragging "MySqlConnection" on Form --> Property "ConnectionString" contains "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt." [German version of Delphi2005]
There's no possibility to set ConnectionString to a real connection string as proposed in some examples. 

When not using the MySqlConnection as Component but only at the source code, as e.g.:

var   msc : MySqlConnection;
  msc:=MySqlConnection.Create('...')

then the error doesn't occur!

How to repeat:
The error occurs every time using the MySqlConnection - Class
[13 Aug 2005 8:06] Vasily Kishkin
I was able to reproduce the bug on Delphi 8. Probably it is Deplhi 2005.
Property "ConnectionString" contains "Object reference not set to an instance of an object."
I tested on Microsoft Visual C# .NET - there is same result.
[21 Aug 2005 1:12] Todd McMullen
.Net c# 2003 - Windows Server 2003 as well, same steps as above.
[24 Aug 2005 14:26] Reggie Burnett
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

This is fixed in 1.0.5
[30 Aug 2005 4:22] Mike Hillyer
Added to 1.0.5 changelog:

      <listitem><para><literal>ConnectionString</literal> property could not be set when <literal>MySqlConnection</literal> object added with designer. (Bug #12551)</para></listitem>