Bug #71572 Memory leak while executing MySqlConnection.Open()

Submitted: 3 Feb 2014 23:06 Modified: 19 May 2014 20:29
Reporter: Maroš Štefaničiak Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:6.7.4.0 OS:Windows (windows 7 64 bit, windows 8 64 bit)
Assigned to: CPU Architecture:Any

[3 Feb 2014 23:06] Maroš Štefaničiak
Description:
While executing MySqlconnection.Open() I get memory leak and computer hang after a few seconds.

How to repeat:
MySql.Data.MySqlClient.MySqlConnectionStringBuilder mysqlConnectionStringbuilder = new MySql.Data.MySqlClient.MySqlConnectionStringBuilder();
mysqlConnectionStringbuilder.UserID = "root";
mysqlConnectionStringbuilder.Port = 3306;
mysqlConnectionStringbuilder.Password = "alabama";
mysqlConnectionStringbuilder.Server = "172.24.32.119";
mysqlConnectionStringbuilder.ConnectionTimeout = 15;

MySql.Data.MySqlClient.MySqlConnection mysqlConnection =
  mysqlConnectionStringbuilder.ConnectionString;
mysqlConnection.Open();

Suggested fix:
It should connect without problems to existing database or throw a exception.
[4 Feb 2014 13:32] Maroš Štefaničiak
Problem is not in MySQL connector but in sap connector. So this bug can be closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 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.