<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Connector/NET and C#, Mono, .Net</title>
        <description>Forum for Connector/NET and C#, Mono, .Net</description>
        <link>https://forums.mysql.com/list.php?38</link>
        <lastBuildDate>Sun, 10 May 2026 20:39:05 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?38,741821,741821#msg-741821</guid>
            <title>Clientless connection with PS (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,741821,741821#msg-741821</link>
            <description><![CDATA[ Hi,<br />
<br />
Is there anyway to query a MySQL server from en Windows client in PowerShell WITHOUT installing any software/driver on it ?<br />
<br />
We wander if it is possible to execute a light PowerShell script from any client connected to the network, from a share, making some select and insert, but with no MySQL connector install.<br />
<br />
Using &quot;[void][system.reflection.Assembly]::LoadFrom&quot; we got errors, and no cmdlets recognized.<br />
<br />
One &quot;dirty&quot; way should use a mysql.exe from a share, but results are unusable.<br />
<br />
Could it be possible to &quot;load&quot; MySQL libs or cmd &quot;on the fly&quot; with no install on the computer executing the powershell script ?<br />
<br />
Regards,]]></description>
            <dc:creator>Emmanuel BILLOT</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Tue, 05 May 2026 20:45:19 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,741159,741159#msg-741159</guid>
            <title>Is there a 64-bit version of MySQL Connector/NET 9.4.0 available? (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,741159,741159#msg-741159</link>
            <description><![CDATA[ Hello,<br />
<br />
I am trying to connect Power BI (64-bit) to my MySQL database. Currently, I can connect using the MySQL ODBC 9.4 Unicode Driver, but I wanted to check if there is a 64-bit version of MySQL Connector/NET 9.4.0 available.<br />
<br />
On the official download page, I only see a 32-bit installer. Will there be a 64-bit release of Connector/NET 9.4.0, or is ODBC the only option for Power BI connections at the moment?]]></description>
            <dc:creator>Muhammed Dhanish</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Wed, 03 Sep 2025 08:22:24 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,741036,741036#msg-741036</guid>
            <title>MySqlConnectionStringBuilder CharacterSet Property (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,741036,741036#msg-741036</link>
            <description><![CDATA[ Hi<br />
<br />
I have a ASP.Net core web app hosted in Azure connected to a Azure MySQL Flexible Server.  The web app is utilising MySql.EntityFrameworkCore (8.0.14).<br />
<br />
The MySQL connection string is built using MySqlConnectionStringBuilder.<br />
<br />
When updating or adding EF Core entities that contain unicode characters (for our Translations data), the rows in the MySQL table contain question marks instead of the unicode data.  <br />
<br />
I have found the MySqlConnectionStringBuilder property CharacterSet.  The documentation says the following for this property....<br />
<br />
Supported for backwards compatibility; MySqlConnector always uses utf8mb4<br />
<br />
When I do not set this property, I get the question marks in the database, but when specifically setting it to &quot;utf8mb4&quot; the data is created correctly.<br />
<br />
I have two questions....<br />
1) Why do I need to set the CharacterSet to &quot;utf8mb4&quot; if it should be the default?<br />
2) Is there anyway I can determine in code what the CharacterSet is when I do not set the property. (When checking the property on MySqlConnectionStringBuilder in debug it is a blank string)<br />
<br />
<br />
Thanks]]></description>
            <dc:creator>Ben Hagley</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 31 Jul 2025 15:24:02 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,741011,741011#msg-741011</guid>
            <title>Connector/Net and SSIS (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,741011,741011#msg-741011</link>
            <description><![CDATA[ Hi,<br />
<br />
I am using sql server integration services and the Connector/NET to extract data from 2 mysql sources.<br />
<br />
1. AWS Aurora (MySQL Version 8.0.36)<br />
2. Magento Cloud (MariaDB)<br />
<br />
What I am struggling with is they work with different Connector Versions. I need to run my connections with AWS Aurora with mysql-connector-net-8.0.32. Magento Cloud runs with mysql-connector-net-9.1.0<br />
<br />
On my server, I cannot run both versions so I have to keep swapping versions or run on different servers.<br />
<br />
Does anyone have any suggestions on how I could get them to coexist ?<br />
<br />
Thanks]]></description>
            <dc:creator>Phillip Doughty</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 24 Jul 2025 13:39:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,740841,740841#msg-740841</guid>
            <title>Upgraded Connector/NET from 8.0.32 to 9.3.0 get error connecting (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,740841,740841#msg-740841</link>
            <description><![CDATA[ Using Windows 10 MS PowerBI to connect to a MySQl database<br />
<br />
Our vulnerability scanner (Qualys) detected Connector/NET v8.0.32 to be vulnerable and needed to upgrade to v9.3.0<br />
<br />
I did this and now I am unable to connect to the database. Was working on previous version.<br />
<br />
Get error This connector requires one or more additional components to be installed before it can be used<br />
<br />
I am sure I am missing some other components in Windows, I assume its .NET versions I am missing or some other component.<br />
<br />
Any ideas]]></description>
            <dc:creator>Abdulaziz Loonat</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 19 Jun 2025 14:42:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,733013,733013#msg-733013</guid>
            <title>MySql.EntityFrameworkCore 8.0.8 RenameColumnbug (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,733013,733013#msg-733013</link>
            <description><![CDATA[ I am using MySql.EntityFrameworkCore 8.0.8 and encounter an error when dealing with RenameColumn, similar to the following link:<br />
<a href="https://stackoverflow.com/questions/78445536/c-sharp-and-entityframworkcore-error-after-running-dotnet-ef-database-update"  rel="nofollow">https://stackoverflow.com/questions/78445536/c-sharp-and-entityframworkcore-error-after-running-dotnet-ef-database-update</a>]]></description>
            <dc:creator>live tony</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Tue, 19 Nov 2024 07:31:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,727549,727549#msg-727549</guid>
            <title>Request: Better migration exception messages (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,727549,727549#msg-727549</link>
            <description><![CDATA[ I&#039;ve just swapped my project from Pomelo to MySql.EntityFrameworkCore 8.0.5, and created a brand new migration.<br />
<br />
When running the migration I get this exception:<br />
<br />
MySql.Data.MySqlClient.MySqlException : BLOB, TEXT, GEOMETRY or JSON column &#039;name&#039; can&#039;t have a default value<br />
  MySqlStream.ReadPacketAsync(Boolean execAsync)<br />
  NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync)<br />
  Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync)<br />
  Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync)<br />
  MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlCommand.ExecuteNonQueryAsync(Boolean execAsync, CancellationToken cancellationToken)<br />
  MySqlCommand.ExecuteNonQuery()<br />
  RelationalCommand.ExecuteNonQuery(RelationalCommandParameterObject parameterObject)<br />
  MigrationCommand.ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)<br />
  MigrationCommandExecutor.ExecuteNonQuery(IEnumerable`1 migrationCommands, IRelationalConnection connection)<br />
  Migrator.Migrate(String targetMigration)<br />
  RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)<br />
<br />
I have 300 tables, so which table with a column &quot;name&quot; has failed?<br />
<br />
Also, all these tables previously had default values, so why doesn&#039;t the net8 driver allow it?]]></description>
            <dc:creator>Neil Scales</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Wed, 16 Oct 2024 15:57:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,726704,726704#msg-726704</guid>
            <title>Error: Data index must be a valid index in the field (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,726704,726704#msg-726704</link>
            <description><![CDATA[ I&#039;m using the MySQL Connector/NET driver with the SQL Server Import and Export Wizard to transfer data from a MySQL 5.7 database to SQL Server. There&#039;s one particular table (named &quot;datablob&quot;) that contains thirty gigabytes of longblob data (about 24K records). After several seconds into the transfer, it stops with the following error:<br />
<br />
Error 0xc020f444: Data Flow Task 1: The error &quot;Data index must be a valid index in the field&quot; occurred while processing &quot;Source - datablob.Outputs[ADO NET Source Output].Columns[data]&quot;.<br />
<br />
Does anyone know what this error means and how to fix? Is the problem with a particular record in the table, a configuration setting with the driver, or a bug?<br />
<br />
Thank you!]]></description>
            <dc:creator>Stanley Roper</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Sat, 05 Oct 2024 11:52:12 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,726096,726096#msg-726096</guid>
            <title>Timeout period elapsed prior to obtaining a connection from the pool - Azure Flexible MySQL (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,726096,726096#msg-726096</link>
            <description><![CDATA[ The MySQL instance was automigrated from a single server to a flexible server this morning.<br />
 <br />
The .NET client was updated from 8.0.21 to 9.0.0 as we were hitting errors that we couldn&#039;t connect, which made sense since flexible server required at least 8.0.32.<br />
 <br />
Since then we found that active connections were increasing close to 300 (which is what we have max_connections set to). We then found wait_timeout has changed from single (120 seconds we think) to 8 hours. We set this value to 120 on the new flexible server. Connections then levelled out - and are around 60-70.<br />
 <br />
However, we are still getting the following error:<br />
<br />
An Exception Occurs In AuthenticateController.ObtainToken. <br />
Exception Thrown: Exception: MySql.Data.MySqlClient.MySqlException (0x80004005): error connecting: Timeout expired.  <br />
The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.<br />
<br />
Any ideas? Or places to look for troubleshooting?]]></description>
            <dc:creator>Jess Pomfret</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 12 Sep 2024 12:00:19 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,725327,725327#msg-725327</guid>
            <title>Concurrency Check issue with EF Core 8 (Regression from 6) (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,725327,725327#msg-725327</link>
            <description><![CDATA[ I have been working on porting an EF implementation over to EF Core, I noticed that a fairly important use case for us, Concurrency Checking, wasn&#039;t working as expected, the underlying value had not changed but it stopped returning the expected concurrency error that our application depends heavily upon.<br />
<br />
Having dug into this I&#039;ve created what I feel to be a really minimal reproduction of the issue which follows<br />
<br />
<a href="https://github.com/rtkelly13/MySQLEFConcurrencyBug"  rel="nofollow">https://github.com/rtkelly13/MySQLEFConcurrencyBug</a><br />
<br />
By adapting and simplifying the current Concurrency test in the MySQL repository. Hopefully my reproduction of both the behaviour on 6 and 8 will help identify the issue.<br />
I hadn&#039;t got far enough to copy the source and attempt to compile it myself, I managed to debug the EF Core code up to the MySQL layer using Rider<br />
<br />
Tested on the mysql:8.0 docker image running locally.]]></description>
            <dc:creator>Ryan Kelly</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Wed, 16 Oct 2024 16:21:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,725180,725180#msg-725180</guid>
            <title>I have a problem querying a date with connector 8.0.17 (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,725180,725180#msg-725180</link>
            <description><![CDATA[ i have this code in the start of my project <br />
<br />
System.Threading.Thread.CurrentThread.CurrentCulture=System.Globalization.CultureInfo.CreateSpecificCulture(&quot;es-DO&quot;) <br />
System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern = &quot;dd&#039;/&#039;MM&#039;/&#039;yyyy&quot;<br />
<br />
The problem is that my application handles the date in &quot;dd/MM/yyyy&quot; format, when I query a date with connector 8.0.16 or lower, it doesn&#039;t matter if it is from a stored procedure or a simple select, the date comes in &quot;dd/MM/yyyy&quot; format, but from version 8.0.17 to the most recent 9.0.0 when I consult a date it has the format &quot;MM/dd/yyyy&quot; causing errors in my program.<br />
<br />
Is there a way to configure the connector&#039;s date format, or the connector&#039;s culture?<br />
<br />
Thank you!]]></description>
            <dc:creator>Ernesto Peralta</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Fri, 19 Jul 2024 12:33:10 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,724974,724974#msg-724974</guid>
            <title>MySql 8.4 Parameter with DbNull.Value problems (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,724974,724974#msg-724974</link>
            <description><![CDATA[ We are experiencing issues across various tables, with different fields, where randomly the value 2024 is being recorded in the column when passing the parameter as shown below. This occurs only when the instruction &quot;IIf(iAnyID2 = 0, DBNull.Value, iAnyID2)&quot; is used, even though the value of the property iAnyID2 is zero by default and the value is not assigned anywhere.<br />
<br />
myCmd.Parameters.AddWithValue(&quot;@AnyID2&quot;, IIf(iAnyID2 = 0, DBNull.Value, iAnyID2))<br />
<br />
<br />
It does not always record the value 2024; sometimes it correctly records NULL.]]></description>
            <dc:creator>Jefferson Manske</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Fri, 28 Jun 2024 20:21:23 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,724772,724772#msg-724772</guid>
            <title>MySQL 8.0: Connector/NET - SecureString (3 replies)</title>
            <link>https://forums.mysql.com/read.php?38,724772,724772#msg-724772</link>
            <description><![CDATA[ Hello<br />
<br />
I was wondering whether there was any plans on your roadmap to support using the SecureString class for managing a connection string in a similar way to that which is possible with the SqlConnection object in the .Net libraries?<br />
<br />
Trying to see how it is possible for that connection string to not be available in memory on a client-side application but as the MySQLConnection class has it&#039;s connection string as a normal string - this is always going to be available plaintext.<br />
<br />
Many thanks]]></description>
            <dc:creator>Paul Haynes</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Mon, 17 Jun 2024 18:57:22 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,724328,724328#msg-724328</guid>
            <title>Issues on MySQL for Excel (2 replies)</title>
            <link>https://forums.mysql.com/read.php?38,724328,724328#msg-724328</link>
            <description><![CDATA[ So I&#039;m having quite of an problem with an specific case.<br />
Got a worksheet that I share with people. The requirements for this to work is to have MySQL for Excel 8.3 + Connector/Net 8.3.<br />
<br />
On the machine where I created the template, after putting it up on a cloud and downloading it, I got no issue.<br />
<br />
But when I try to get that same file on another machine with al requirements installed correctly, I get a window that says &quot;Excel Tables Reconnection&quot;. If it only appears the first time and after putting the connection credentials is not appearing anymore there will be not a problem. But after you put the connection credentials correctly, save it, closing it and opening it back, &quot;Excel Tables Reconnection&quot; window appears again and it forces you to create once more a connection you already have saved. And there&#039;s no option to select an existing one, it just let you create or delete all.<br />
<br />
How can I fix this issue?]]></description>
            <dc:creator>Iván Ríos Gracia</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Mon, 20 May 2024 09:28:32 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,724212,724212#msg-724212</guid>
            <title>Fatal error encountered attempting to read the resultset after 1 hour (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,724212,724212#msg-724212</link>
            <description><![CDATA[ I have a code piece to run a stored procedure in mysql. Code runs and completes when execution time is under 1 hour however when it takes more than 1 hour it gets an exception. I set command timeout to 7200 and I also tried to increase various other timeout parameters in code with following queries without any success:<br />
<br />
<br />
SET SESSION wait_timeout=99999; SET SESSION interactive_timeout=99999;<br />
set net_write_timeout=99999; set net_read_timeout=99999<br />
<br />
When I use Dbeaver client procedure completes even if it takes more than 1 hour.<br />
<br />
I&#039;m using Mysql.Data version: 8.4. Mysql database version is:8.0.32<br />
<br />
Code it as follows:<br />
<br />
                string sql = &quot;EDW.SP_DENEME_20240503&quot;;<br />
                string connStr = @&quot;Server=hostname;Port=port; Database=;Uid=xxxx;Pwd=pwd;AllowLoadLocalInfile=true;allowPublicKeyRetrieval=true;Connect Timeout=120&quot;;<br />
                using (var conn = new MySqlConnection(connStr))<br />
                using (MySqlCommand cancellableCommand = new MySqlCommand(sql, conn))<br />
                {<br />
                    cancellableCommand.CommandTimeout = 7200;<br />
                    cancellableCommand.CommandType = CommandType.StoredProcedure;<br />
<br />
                    cancellableCommand.Parameters.Add(new MySqlParameter(&quot;v_ASOFDATE&quot;, 20240421));<br />
                    cancellableCommand.Parameters.Add(new MySqlParameter(&quot;v_LOGTYPE&quot;, &quot;M&quot;));<br />
                    conn.Open();<br />
                    OpenConnection(conn, connectionRetryCount);<br />
                    return cancellableCommand.ExecuteNonQuery();<br />
}<br />
<br />
<br />
Error message:<br />
<br />
Exception msg :Fatal error encountered during command execution.<br />
Exception inner exc :Fatal error encountered attempting to read the resultset.<br />
Exception stacktrace :   at MySql.Data.MySqlClient.MySqlCommand.&lt;ExecuteReaderAsync&gt;d__111.MoveNext()<br />
--- End of stack trace from previous location where exception was thrown ---<br />
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br />
   at MySql.Data.MySqlClient.MySqlCommand.&lt;ExecuteReaderAsync&gt;d__111.MoveNext()<br />
--- End of stack trace from previous location where exception was thrown ---<br />
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br />
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br />
   at MySql.Data.MySqlClient.MySqlCommand.&lt;ExecuteNonQueryAsync&gt;d__100.MoveNext()<br />
--- End of stack trace from previous location where exception was thrown ---<br />
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<br />
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br />
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()<br />
<br />
I would appreciate any suggestions regarding the issue.]]></description>
            <dc:creator>erdem yalçın</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Wed, 08 May 2024 12:14:48 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,724018,724018#msg-724018</guid>
            <title>A null was returned after calling the &#039;GetService&#039; method on a store provider instance of type &#039;MySql.Data.MySqlClient.MySqlClientFactory&#039; (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,724018,724018#msg-724018</link>
            <description><![CDATA[ I recently upgraded my database from mySql 5.5 to mySQL 8.0.27, mySQL .NET Connector 8.0.27 &amp; Entity Framework from 5 to 6.4.4. Now when making a DB call from code using EF, I am receiving the error &quot;System.Data.ProviderIncompatibleException: A null was returned after calling the &#039;GetService&#039; method on a store provider instance of type &#039;MySql.Data.MySqlClient.MySqlClientFactory&#039;. The store provider might not be functioning correctly.&quot;<br />
<br />
Source is &quot;System.Data.Entity&quot;.<br />
<br />
I am using VS 2022 &amp; .Net framework is 4.8.<br />
<br />
Can any one please suggest where I am missing?]]></description>
            <dc:creator>Venkata Ramana Raju</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Fri, 03 May 2024 11:28:49 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,723885,723885#msg-723885</guid>
            <title>HResult=0x80131501 on my new Win11 32bit machine (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,723885,723885#msg-723885</link>
            <description><![CDATA[ This the closest match I could find to post my query, although connector is not explicit in the code. Note: ctor in code below refers to the constructor.<br />
When I login to MySQL 8.3 Command Line Client, I get no error. The connection works fine in HeidiSQL also. When I run my code programatically I get the error.<br />
Message=A call to SSPI failed, see inner exception.<br />
Source=MySql.Data<br />
Inner Exception 1:<br />
Win32Exception: The message received was unexpected or badly formatted<br />
Here is the code:<br />
public void MakeConnection()<br />
        {<br />
string connectionstring = &quot;Server=localhost; UID=root; Pwd=&lt;mypassword&gt;; Database=MyDatabase;&quot;;<br />
con = new MySqlConnection(connectionstring);<br />
if (con == null) return;<br />
con.Open();<br />
cmd = con.CreateCommand();<br />
        }<br />
It throws the error at con.Open(); Interestingly, when I run the exact same code on my Win 8.1 32bit machine, I get no error. Obviously a different instance of MySQL, since both are localhost.<br />
The password is NOT misspelled. Re-typed numerous times in program and command line to be sure.<br />
Here is the stack trace for the error in case that helps:<br />
  StackTrace:<br />
   at MySql.Data.Common.Ssl.StartSSL(Stream&amp; baseStream, Encoding encoding, String connectionString)<br />
   at MySql.Data.MySqlClient.NativeDriver.Open()<br />
   at MySql.Data.MySqlClient.Driver.Open()<br />
   at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)<br />
   at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()<br />
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()<br />
   at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()<br />
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()<br />
   at MySql.Data.MySqlClient.MySqlConnection.Open()<br />
   at DB.BaseDB.MakeConnection() in C:\Users\jonqj\Projects\DB\BaseDB.cs:line 112<br />
   at DB.BaseDB..ctor(String cns) in C:\Users\jonqj\Projects\DB\BaseDB.cs:line 100<br />
   at MYSQL.MySQL..ctor(String cns) in C:\Users\jonqj\Projects\MYSQL\MySQL.cs:line 14<br />
   at ConsoleApp1.Program.Main(String[] args) in C:\Users\jonqj\Projects\ConsoleApp1\Program.cs:line 12<br />
   <br />
I am in the process of migrating lots of stuff from my win 8.1 machine to my win 11 machine.   <br />
What can I do to make this work? Thank you.]]></description>
            <dc:creator>Jon Jacobs</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 25 Apr 2024 17:13:17 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,723699,723699#msg-723699</guid>
            <title>System.AggregateException: One or more errors occurred. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,723699,723699#msg-723699</link>
            <description><![CDATA[ I use MySql.Data 8.3.0 version for NET 8.0.<br />
<br />
I call asynchronous methods but I don&#039;t use async void only async Task. But my try-catches do not work, I get this error in AppDomain.CurrentDomain.UnhandledException event handler:<br />
<br />
System.AggregateException: One or more errors occurred. (Authentication to host &#039;142.132.202.107&#039; failed. (I/O error occurred.))<br />
 ---&gt; System.AggregateException: Authentication to host &#039;142.132.202.107&#039; failed. (I/O error occurred.)<br />
 ---&gt; System.IO.IOException: I/O error occurred.<br />
   --- End of inner exception stack trace ---<br />
   at MySql.Data.Common.Ssl.&lt;StartSSLAsync&gt;b__10_1()<br />
   at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)<br />
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
--- End of stack trace from previous location ---<br />
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)<br />
   --- End of inner exception stack trace ---<br />
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)<br />
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)<br />
   at System.Threading.TimerQueue.FireNextTimers()<br />
   at System.Threading.ThreadPoolWorkQueue.Dispatch()<br />
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()<br />
<br />
Also, I&#039;m disappointed because my code is missing in the stack trace. I don&#039;t understand - it may be a bug or not that I don&#039;t handle Exception into my catch block.]]></description>
            <dc:creator>Роман Берлов</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 24 Oct 2024 03:35:04 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,723668,723668#msg-723668</guid>
            <title>MySql.EntityFrameworkCore No DbUpdateConcurrencyException thrown when concurrency conflictis expected (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,723668,723668#msg-723668</link>
            <description><![CDATA[ When using MySql When the EntityFrameworkCore connects to MySQL, it does not throw the DbUpdateConcurrencyException exception when there is concurrency in updating data<br />
The code is as follows<br />
<br />
Services AddDbContext&lt;testContext&gt;（<br />
<br />
(sp, optionsBuilder)=&gt;<br />
{<br />
OptionsBuilder UseMySQL (connectionString)<br />
. Enabling DetailedErrors ()<br />
. enableSensitiveDataLogging();<br />
});<br />
<br />
<br />
[Table (&quot;user_count2&quot;)]<br />
Public class UserAccount<br />
{<br />
[Column (&quot;id&quot;)]<br />
Public int Id {get; set;}<br />
<br />
[Column (&quot;user_id&quot;)]<br />
Public int? UserId {get; set;}<br />
<br />
<br />
[StringLength (11)]<br />
//[Comment (&quot;Account Name&quot;)]<br />
[Column (&quot;account name&quot;)]<br />
Public string AccountName {get; set;}<br />
<br />
<br />
<br />
//[Comment (&quot;Creation Time&quot;)]<br />
[Column (&quot;create-time&quot;)]<br />
Public DateTime? Create Time {get; set;}<br />
<br />
[Column (&quot;is_delete&quot;)]<br />
Public int? IsDelete {get; set;}<br />
<br />
[Column (&quot;delete-time&quot;)]<br />
Public DateTime? DeleteTime {get; set;}<br />
<br />
[Column (&quot;version&quot;, TypeName=&quot;varchar&quot;)]<br />
//[Timestamp]<br />
[ConcurrencyCheck]<br />
//[Timestamp]<br />
Public Guid Version {get; set;}<br />
<br />
[Column (name: &quot;createat&quot;, TypeName=&quot;timestamp&quot;)]<br />
Public DateTime? Create At {get; set;}<br />
}<br />
UserAccount? UserAccount=testContext UserAccounts Find (100003);<br />
//Console WriteLine (userAccount. CreateAt?. ToString (&quot;yyyy MM dd HH: mm: ss. fff: ffffff&quot;));<br />
Try<br />
{<br />
UserAccount AccountName=&quot;atest&quot;;<br />
UserAccount Version=Guid NewGuid();<br />
UserAccount Create At=DateTime UtcNow;<br />
TestContext UserAccounts Update (userAccount);<br />
Int rows=testContext SaveChanges ();<br />
Console WriteLine (rows);<br />
}<br />
Catch (DbUpdateConcurrencyException ex)<br />
{<br />
<br />
Throw ex;<br />
}<br />
The execution result always returns 1, and no DbUpdateConcurrencyException exception was thrown]]></description>
            <dc:creator>zhenhua li</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Tue, 30 Jul 2024 08:38:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,723667,723667#msg-723667</guid>
            <title>MySql.EntityFrameworkCore  No DbUpdateConcurrencyException thrown when  concurrency conflictis expected (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,723667,723667#msg-723667</link>
            <description><![CDATA[ 当使用 MySql.EntityFrameworkCore 连接mysql 时候，更新数据出现并发的时候 也没有 抛出 DbUpdateConcurrencyException 异常信息 <br />
,代码如下<br />
﻿<br />
services.AddDbContext&lt;testContext&gt;(<br />
﻿<br />
(sp,optionsBuilder) =&gt;<br />
{<br />
optionsBuilder.UseMySQL(connectionString)<br />
.EnableDetailedErrors()<br />
.EnableSensitiveDataLogging();<br />
});<br />
﻿<br />
﻿<br />
[Table(&quot;user_account2&quot;)]<br />
public  class UserAccount<br />
{<br />
[Column(&quot;id&quot;)]<br />
public int Id { get; set; }<br />
﻿<br />
[Column(&quot;user_id&quot;)]<br />
public int? UserId { get; set; }<br />
﻿<br />
﻿<br />
[StringLength(11)]<br />
//[Comment(&quot;账号名称&quot;)]<br />
[Column(&quot;account_name&quot;)]<br />
public string AccountName { get; set; }<br />
﻿<br />
﻿<br />
   <br />
//[Comment(&quot;创建时间&quot;)]<br />
[Column(&quot;create_time&quot;)]<br />
public DateTime? CreateTime { get; set; }<br />
    <br />
[Column(&quot;is_delete&quot;)]<br />
public int? IsDelete { get; set; }<br />
﻿<br />
[Column(&quot;delete_time&quot;)]<br />
public DateTime? DeleteTime { get; set; }<br />
﻿<br />
[Column(&quot;version&quot;, TypeName = &quot;varchar&quot;)]<br />
//[Timestamp]<br />
[ConcurrencyCheck]<br />
//[Timestamp]<br />
public Guid  Version { get; set; }<br />
﻿<br />
[Column(name: &quot;create_at&quot;, TypeName = &quot;timestamp&quot;)]<br />
public DateTime?  CreateAt { get; set; }<br />
}<br />
UserAccount? userAccount = testContext.UserAccounts.Find(100003);<br />
//Console.WriteLine(userAccount.CreateAt?.ToString(&quot;yyyy-MM-dd HH:mm:ss.fff:ffffff&quot;));<br />
try<br />
{<br />
userAccount.AccountName = &quot;atest&quot;;<br />
userAccount.Version = Guid.NewGuid();<br />
userAccount.CreateAt= DateTime.UtcNow;  <br />
testContext.UserAccounts.Update(userAccount);<br />
int rows= testContext.SaveChanges();<br />
Console.WriteLine(rows);<br />
}<br />
catch (DbUpdateConcurrencyException ex)<br />
{<br />
     <br />
throw ex;<br />
}<br />
执行结果永远都还返回是1，没有抛出 DbUpdateConcurrencyException  异常]]></description>
            <dc:creator>zhenhua li</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 11 Apr 2024 02:03:51 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,723633,723633#msg-723633</guid>
            <title>Problem my MYSQL connector (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,723633,723633#msg-723633</link>
            <description><![CDATA[ Hello,<br />
<br />
I have been using Microsoft POWER BI for a while to analyze data taken directly from a MySQL DB. In order to get data from MySQL it is necessary to download and install a connector: <br />
<a href="https://dev.mysql.com/downloads/connector/net/"  rel="nofollow">https://dev.mysql.com/downloads/connector/net/</a><br />
I had several reports up and running. They were refreshing automatically from POWER BI Service using a personal mode gateway. <br />
<br />
After some problems trying to configure a new report I uninstalled and intalled the conector among other things. Right now I can&#039;t connect at all to MySQL from POWER BI, as even the desktop version says it did not find the necessary connector.<br />
<br />
In this link <a href="https://learn.microsoft.com/en-us/power-query/connectors/mysql-database"  rel="nofollow">https://learn.microsoft.com/en-us/power-query/connectors/mysql-database</a> it is mentioned to do the following operation to check if the connector is correctly installed.:<br />
&quot;The MySQL connector requires the MySQL Connector/NET package to be correctly installed. To determine if the package has installed correctly, open a PowerShell window and run the following command:<br />
<br />
[System.Data.Common.DbProviderFactories]::GetFactoryClasses()|ogv&quot;<br />
<br />
Which gives me the following error:<br />
<br />
&quot;Exception when calling &quot;GetFactoryClasses&quot; with arguments &quot;0&quot;: &quot;An error occurred while creating the configuration section handler for system.data: The column &#039;InvariantName&#039; is restricted to be unique. The value &#039;is already present Mysql.Data.MySqlClient&#039;. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 157)&quot;<br />
En línea: 1 Carácter: 1<br />
+ [System.Data.Common.DbProviderFactories]::GetFactoryClasses()|ogv<br />
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : ConfigurationErrorsException&quot;<br />
<br />
Any help solving this?]]></description>
            <dc:creator>Alexis Blanco</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Mon, 08 Apr 2024 11:03:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,722998,722998#msg-722998</guid>
            <title>Conexão MySQL Server 8.0 com MySQL Connector Net 6.8.3 (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,722998,722998#msg-722998</link>
            <description><![CDATA[ Boa tarde, pessoal!<br />
Sou novato em MySQL e estou tendo dificuldades de efetuar a conexão do Visual Studio VB.net com o servidor MySQL.<br />
Pelo VS ser de 2013, só consigo utilizar o MySQL Connector 6.8.3.<br />
Instalei o MySQL Server 8.0.<br />
MInha pergunta é: Posso efetuar a conexão ao MySQL Server 8.0 com o Connector 6.8.3?<br />
Se é possível, por favor me digam como, pois já tentei de várias formas e nada funciona.<br />
Muito obrigado!]]></description>
            <dc:creator>Pedro Muniz Muniz</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Sat, 24 Feb 2024 17:08:26 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,722981,722981#msg-722981</guid>
            <title>Transaction issues using connector 8.x on a Server 5.7.x (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,722981,722981#msg-722981</link>
            <description><![CDATA[ I hope you can help me. I have a vb.Net system running stable on MySql RDS 5.7 for a few years. Due to the EOL of 5.7, we prepared the migration to MySql 8, and it is practically ready and fully tested. But to minimize the migration process, we updated the project that used the 6.9.x connector (Mysql.Data.dll) to the 8.3.0 connector, which is backwards compatible with MySql 5.7. However, we are facing a strange problem: with new connector, pointing to MySql 5.7, the behavior of transactions is different. With the new connector, transactions are getting stuck and not finishing correctly, generating a cascade effect that crashes the entire instance. If I return the connector to 6.9.x the problem disappears. Since the DB instance is exactly the same, I can&#039;t figure out how simply changing the connector could cause different behavior with transactions. Some important information: some transactions may be causing problems even with the old connector, but simply changing the connector should not justify such different behavior. I&#039;ve tried several versions within 8.x (from version 8.0 to version 8.3) and it seems that they all have this problem. I use the .net 4.6.2 framework.<br />
<br />
Thank you and I hope you can help me!<br />
<br />
i&#039;m expecting same behavior using any .net MySql Connector and I&#039;m afraid of this problems occurs in MySql Server 8.0.35.]]></description>
            <dc:creator>Sergio Sergio</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 22 Feb 2024 17:39:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,722791,722791#msg-722791</guid>
            <title>MySQL 8.3  Nuget Assemblies (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,722791,722791#msg-722791</link>
            <description><![CDATA[ After updating from MySQL 8.2 to 8.3, I updated the MySql.Data, MySql.Data.EntityFramework, and MySql.Web to 8.3.<br />
<br />
Using the MySqlSessionStateStore.cs, an error appeared in the following section:<br />
<br />
Unable to cast object of type &#039;System.Byte[]&#039; to type &#039;System.String&#039; under the  following line of code:<br />
<br />
Line 417:                    serializedItems = reader.GetString(1);<br />
<br />
This error went away when 8.2 drivers were reloaded.  No coding was changed on the app.<br />
<br />
The code is used to change the MySqlSesssionStateStore since autocommit is turned off on the server.  <br />
<br />
The full code is found on kimple.com.  <br />
<br />
<br />
// Retrieve session item data from the data source.<br />
reader = cmd.ExecuteReader(CommandBehavior.SingleRow);<br />
while (reader.Read())<br />
{<br />
    expires = reader.GetDateTime(0);<br />
<br />
    if (expires &lt; DateTime.Now)<br />
    {<br />
        // The record was expired. Mark it as not locked.<br />
        locked = false;<br />
        // The session was expired. Mark the data for deletion.<br />
        deleteData = true;<br />
    }<br />
    else<br />
        foundRecord = true;<br />
<br />
    serializedItems = reader.GetString(1);<br />
    lockId = reader.GetInt32(2);<br />
    lockAge = DateTime.Now.Subtract(reader.GetDateTime(3));<br />
    actionFlags = (SessionStateActions)reader.GetInt32(4);<br />
    timeout = reader.GetInt32(5);<br />
}<br />
reader.Close();]]></description>
            <dc:creator>Tim Babcock</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 15 Feb 2024 15:54:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,722781,722781#msg-722781</guid>
            <title>Connector/NET for PowerBI (2 replies)</title>
            <link>https://forums.mysql.com/read.php?38,722781,722781#msg-722781</link>
            <description><![CDATA[ Hello ~ <br />
I am pretty new to using MySQL and recently downloaded MS PowerBI. I want to connect a MySQL Database to PowerBI so I can easily import the data. PowerBI gave me a error message saying I must download the Connector/NET 8.3.0 in order to connect to MySQL. <br />
After downloading, I am still unable to connect to MySQL database and receive the same error message. I&#039;m wondering if anyone else has ran into this problem.]]></description>
            <dc:creator>Nicholas Olmedo</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 03 Oct 2024 05:35:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,715844,715844#msg-715844</guid>
            <title>Unable to Connect PowerBi Desktop to MySql installed on Raspbery PI (1 reply)</title>
            <link>https://forums.mysql.com/read.php?38,715844,715844#msg-715844</link>
            <description><![CDATA[ Hi Community,<br />
 <br />
<br />
I am trying to connect PowerBi Desktop (on Windows laptop) to MySql which is installed on my Raspberry PI but it just does not work. I always get the following error message:<br />
<br />
Details: &quot;An error happened while reading data from the provider: &#039;Object cannot be cast from DBNull to other types.&#039;&quot;<br />
<br />
<br />
MySQL Version: Ver 15.1 Distrib 10.11.4-MariaDB, for debian-linux-gnu (aarch64) <br />
MySQL Connector/net: Tried with 8.3.0, 8.0.27 and 8.0.28<br />
<br />
Does anyone know how to resolve this issue. I did extensive search on the internet but simply cannot find the solution.<br />
<br />
 <br />
Any help is highly appriciated<br />
<br />
Thanks<br />
<br />
Mustafa]]></description>
            <dc:creator>MUSTAFA OEZTUERK</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Tue, 20 Feb 2024 14:20:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,714689,714689#msg-714689</guid>
            <title>New problem with .Net connecttor v8.0.33.1 - System.Runtime.CompilerServices.Unsafe (3 replies)</title>
            <link>https://forums.mysql.com/read.php?38,714689,714689#msg-714689</link>
            <description><![CDATA[ I am using C# .NET Framework 4.8.1<br />
<br />
I was using MySql .Net connector v8.0.32 just fine.<br />
<br />
I upgraded to connector v8.0.33.1 which compiles but at runtime when accessing the database I get the following error:<br />
Could not load file or assembly &#039;System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#039; or one of its dependencies. The system cannot find the file specified<br />
<br />
I have no idea how to fix this so I have gone back to v8.0.32.<br />
<br />
Any ideas what is wrong?]]></description>
            <dc:creator>Andrew Cutforth</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 18 Jan 2024 17:57:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,713033,713033#msg-713033</guid>
            <title>Connection string special characters (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,713033,713033#msg-713033</link>
            <description><![CDATA[ I have a visual studio Windows form programme that I connect to a MySQL database. I recently updated the server and now it wants special characters in the password. The problem I have is when the connection string is passed to the database the special characters through an error. I have connected to the database via and ODBC connection in excel, so I know my connection string works its just when Visual Studio 2019 sends it to the server that something goes wrong. I have no idea how to solve this one. I am using the latest MySQL.data.dll. The password has a * character in it. I have tried other characters with no success.<br />
<br />
I writing my programme in vb, but I have tried the connection string builder to no effect. I am using vsto 2019. I have updated the mysql.data.dll to the latest (8.2.0.0). The database is MariaDB 10. The project is a Windows Forms Application with .NET framework 4.8.<br />
<br />
When I pass the connection string with a special character in the password I get the following error message: &#039;Object cannot be cast from DBNull to other types.&#039;.<br />
<br />
When I pass the connection string with the special character removed (as a test really) I get the following error message: &#039;Authentication to host &#039;xx.x.xxx.xx&#039; for user &#039;SDJ&#039; using method &#039;mysql_native_password&#039; failed with message: Access denied for user &#039;SDJ&#039;@&#039;xx.x.xxx.xx&#039; (using password: YES)&#039;<br />
<br />
I can connect to the database using an ODBC connection via excel, so its something to do with how vsto is passing the password during connection.]]></description>
            <dc:creator>Sven Jupp</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Tue, 02 Jan 2024 18:19:55 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,712043,712043#msg-712043</guid>
            <title>Upgrade Application from MySQL .net connector from v8.0.27 to 8.0.33 | Required system restart to detect connector in Application (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,712043,712043#msg-712043</link>
            <description><![CDATA[ Hi All,<br />
<br />
I upgraded .net mysql connector from v8.0.27 to v8.0.33 in my application but after upgrading it My Application is not detecting the connector is installed in the system untill I am restarting the system. This behavior was not there with .net MySQL connector v8.0.27, Below is the different behavior in v8.0.33<br />
<br />
Scenario - 1(When I was using .net MySQL connector v 8.0.27) :-<br />
1. Install My Application<br />
2. Install MySQL connector v8.0.27<br />
3. My Application can connect with MySQL database.<br />
<br />
Scenario - 2(After Upgrading .net MySQL connector v8.0.33) :-<br />
1. Install My Application<br />
2. Install MySQL connector v8.0.33<br />
3. My Application is not able to connect with MySQL database<br />
4. Restart the system<br />
5. My Application can connect with MySQL database.<br />
<br />
so why the system restart is required for .net MySQL connector v8.0.33?]]></description>
            <dc:creator>Anshul Gupta</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Wed, 13 Dec 2023 15:08:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?38,711713,711713#msg-711713</guid>
            <title>Install of ADO.NET Connector 8.2 only works with IPv4 (no replies)</title>
            <link>https://forums.mysql.com/read.php?38,711713,711713#msg-711713</link>
            <description><![CDATA[ We have just updated the MySQL ASO.NET Connector on our Windows Servers to 8.2.0 to match the MySQL servers which have been upgraded to MySQL8. We are using the connector from within Microsoft SSIS jobs and found that it tried to access the MySQL database over IPv4 even though the both the Windows server and the server running the MySQL database had IPv6 IP addresses. Doing a simple ping to the same URL showed the IPv6 IP address. The ODBC connections to the same MySQL server worked flawlessly. <br />
The workaround we figured out was to force the IPv6 IP address on the server by placing the URL and IPv6 IP address in the local machine&#039;s Hosts file.<br />
Is there a known issue with the ADO.NET connector wanting to use IPv4 instead of IPv6? Are there any parameters which we can use to force IPv6 to be used each time. We currently have static DNS entries pointing to IPv6 IP addresses and if the admins ever changed the IP address of the MySQL database this would stop working until we matched this in the Hosts file.]]></description>
            <dc:creator>Stephen Henderson</dc:creator>
            <category>Connector/NET and C#, Mono, .Net</category>
            <pubDate>Thu, 30 Nov 2023 11:32:17 +0000</pubDate>
        </item>
    </channel>
</rss>
