Bug #7528 Mysql Connection
| Submitted: | 24 Dec 2004 14:17 | Modified: | 5 Jan 2005 18:42 |
|---|---|---|---|
| Reporter: | Hasan Raihan | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | Connector / NET | Severity: | S2 (Serious) |
| Version: | 4.1.8 | OS: | Windows (Windows XP) |
| Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[24 Dec 2004 14:17]
Hasan Raihan
[4 Jan 2005 14:27]
Sivard Donkers
same problem here. also changed to 4.1.7. and it works again. If you look at the system variables (SHOW VARIABLES LIKE 'innodb_max_purge_lag';) after a fresh installation of mysql, you'll see that innodb_max_purge_lag is inserted twice. This is not the case in 4.1.7. Greetz Sivard
[5 Jan 2005 18:05]
Reggie Burnett
What version of the connector are you using? We had a problem with early versions where duplicate variables would cause this but not anymore. Try 1.0.3
[5 Jan 2005 18:42]
Reggie Burnett
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL.
[19 Jan 2005 13:17]
john doe
Have the same problem here on WindowsXP-SP1, mysql 5.0.2 alpha. The command SHOW VARIABLES LIKE 'innodb_max_purge_lag' shows 2 variables, as stated by Sivard. Nothing special done during installation, just rolled the installer and got this error message (while trying to connect with nHibernate): NHibernate.TransactionException: Begin failed with SQL exception ---> NHibernate.ADOException: cannot open connection ---> NHibernate.ADOException: Could not create connection from Driver ---> System.ArgumentException: Item has already been added. Key in dictionary: "innodb_max_purge_lag" Key being added: "innodb_max_purge_lag" at MySql.Data.MySqlClient.InternalConnection.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at NHibernate.Connection.DriverConnectionProvider.GetConnection() --- End of inner exception stack trace --- at NHibernate.Connection.DriverConnectionProvider.GetConnection() at NHibernate.Impl.SessionFactoryImpl.OpenConnection() --- End of inner exception stack trace --- at NHibernate.Impl.SessionFactoryImpl.OpenConnection() at NHibernate.Impl.SessionImpl.get_Connection() at NHibernate.Transaction.Transaction.Begin() --- End of inner exception stack trace --- at NHibernate.Transaction.Transaction.Begin() at NHibernate.Transaction.TransactionFactory.BeginTransaction(ISessionImplementor session) at NHibernate.Impl.SessionImpl.BeginTransaction() Hope this helps...
[19 Jan 2005 13:25]
john doe
Allright, solved it! Needed the latest version of the MySQL Connector Net (version 1.0.3). old version that was giving problems was 1.0.0.22708 btw.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.