MySQL Lists are EOL. Please join:

List:MySQL and .NET« Previous MessageNext Message »
From:Lynn Eriksen Date:November 7 2006 8:09pm
Subject:RE: MySQL Connector and VS-Tools beta
View as plain text  
Ah,  the "error 0: parameter "?Mname" must be defined" error.

Reggie has updated the code so that it when you enter the
'ParameterName' property in a MySQLParameter object you need to name it
with a "?" prefix for it to be found, otherwise it will fail. Doing this
allows the provider to be MUCH faster under many circumstances.

1.08 does not let you know this, instead it throws the "must be

Hopefully this will be updated in the 1.09 driver to throw a better
error. Other than this the 1.08 driver works fairly well.

You will not have this problem on the 1.07 driver, but the change I
mention above will most likely be in place on all versions going

Lynn Eriksen
713.960.8222 X105

Sound Works
Christwebs -

-----Original Message-----
From: Bill Angus [mailto:mdangus@stripped] 
Sent: Tuesday, November 07, 2006 12:55 PM
To: dotnet@stripped
Subject: Re: MySQL Connector and VS-Tools beta

Hi all: 

I installed a couple of the beta versions (mysql connector 5 and the
VS-Tools for managed code) on a development machine that has vstudio on

Subsequently these were removed and the older editions reinstalled
(MySQL 5.0.22 and connector 1.0.8RC. Now I have a really funny behavior
in an app that has been running well for months.

The identical installation on my production machine works just fine (I
can edit the app, recompile and distribute good working copies of it).
However any atempt to run or to edit and debug the exact same VB app on
the development machine now results in an error at the fist
parameterized database query. The description is "error 0: parameter
"?Mname" must be defined". Of course the parater is defined, and the app
works fine on the production machine.

I have looked for and removed any incorrect instances of,
etc on the development machine already (still have the problem).

Any ideas what I might ahve to do to remove all traces of the beta
software on this machine and get back to square 1 (is there something I
haven't done here)? I'm sort of  trying to avoid completely nuking and
repaving with a clean install of windows, v-studio, etc. etc. etc.

Thanks and have a great day!

Bill Angus, MA

  ----- Original Message -----
  From: Bill Angus
  To: Reggie Burnett ; announce@stripped ; dotnet@stripped
  Sent: Tuesday, October 24, 2006 3:11 PM
  Subject: Re: MySQL Connector/Net 1.0.8 RC has been released.

  Hi Reggie and all: 

  I loaded the new 1.08.... RC candidate. I still get the warning
message "not CLS compliant".

  Can you tell me if this release isn't supposed to resolve the warning
message "type of member MyConnection is not CLS compliant"? This msg
refers to the MySQL connection object of the .net provider. 

  Thanks and have a great day!

  Bill Angus, MA

    ----- Original Message ----- 
    From: Reggie Burnett 
    To: announce@stripped ; dotnet@stripped 
    Sent: Friday, October 20, 2006 1:01 PM
    Subject: MySQL Connector/Net 1.0.8 RC has been released.


    MySQL Connector/Net 1.0.8 RC has been released. MySQL Connector/Net
is an
    all-managed ADO.Net provider for MySQL. While this release is
suitable for
    any version of MySQL, it is strongly encouraged that this release
not be
    used on any production data. 

    ** IMPORTANT **
    We are making this release available as an RC because there were
    changes made to the provider beyond just simple bug fixes. Due to
this, we
    felt it prudent to ask for feedback from the community before
declaring the
    provider safe for production use. We plan to release the next
    (1.0.9) as GA within the next 2-3 weeks incorporating any feedback
we get
    from the community.
    ** IMPORTANT **

    It is now available in source and binary form from the Connector/Net
    download pages at 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
    later or choose another download site.)

    This release includes many bug fixes along with the following

    * Implemented a stored procedure cache. By default, the connector
    the metadata for the last 25    procedures that are seen. You can
    the number of procedures that are cached by using the 'procedure
    cache=<size>' connection string setting. You can disable the
    cache by setting a zero size.

    * Executing stored procedures now no longer requires the user to
have select
    privileges on the mysql.proc table.

    * Shared memory connections now work as expected.

    * Queries containing a large number of parameters now run many times
    than before. As an example of the performance gains seen, an
    testing app that needed more than 30 minutes to execute using 1.0.7,
    completes in less than 8 seconds using 1.0.8.

    * We are no longer providing binaries compiled with .NET 1.0. We are
    this for a couple of reasons. First, we believe the vast majority of
    users are using .NET 1.1 or 2.0. Also, removing .NET 1.0 binaries
    the number of frameworks we have to test thereby reducing the time
it takes
    to verify releases. If 1.0 is needed by a sufficiently large number
    users, we are willing to re-evaluate this decision.

    * ICSharpCode ZipLib is no longer used by the connector and is no
    being distributed with it.

    The installer for this release installs the assembly into the Global
    Assembly Cache (GAC) without giving you an option to not do this. In
the GA
    release (1.0.9), the installer will include an option to not
register the
    provider in the GAC. 

    Also, the installer attempts to install both 1.1 and 2.0 binaries
into the
    respective GAC. If you do not have both frameworks installed, the
    will give an error. This will be fixed in the final product but for
now you
    can work around this by doing a custom install and choosing the
version of
    the driver for the framework you want to install. 

    Thank you for checking out this release of Connector/Net. 


    MySQL on .NET Mailing List
    For list archives:
    To unsubscribe:

Re: MySQL Connector and VS-Tools betaBill Angus7 Nov
RE: MySQL Connector and VS-Tools betaLynn Eriksen7 Nov