<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Exception creating MySQL Database - General Questions				            </title>
            <link>https://solidcp.com/forum/question/exception-creating-mysql-database/</link>
            <description>SolidCP Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 16 Apr 2026 08:01:25 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Exception creating MySQL Database</title>
                        <link>https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10200</link>
                        <pubDate>Tue, 26 Sep 2023 08:38:26 +0000</pubDate>
                        <description><![CDATA[Finally worked it out - I used gacutil /i and added a bindingRedirect to SolidCP Server&#039;s web.config to point to the new version of MySQL.Data to install MySQL.Data.dll to the GAC  -
...
 ...]]></description>
                        <content:encoded><![CDATA[<p>Finally worked it out - I used gacutil /i and added a bindingRedirect to SolidCP Server's web.config to point to the new version of MySQL.Data to install MySQL.Data.dll to the GAC  -</p>
<div>...</div>
<div><em>  &lt;runtime&gt;</em></div>
<div><em>    &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;</em></div>
<div><em>      &lt;probing privatePath="bin/Crm2011;bin/Crm2013;bin/Exchange2013;bin/Exchange2016;bin/Exchange2019;bin/Sharepoint2013;bin/Sharepoint2016;bin/Sharepoint2019;bin/Lync2013;bin/SfB2015;bin/SfB2019;bin/Lync2013HP;bin/Dns2012;bin/IceWarp;bin/IIs80;bin/IIs100;bin/HyperV2012R2;bin/HyperVvmm;bin/Crm2015;bin/Crm2016;bin/Filters" /&gt;</em></div>
<div> </div>
<div><span style="color: #ff0000"><strong> &lt;dependentAssembly&gt;</strong></span></div>
<div><span style="color: #ff0000"><strong> &lt;assemblyIdentity name="MySQL.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" /&gt;</strong></span></div>
<div><span style="color: #ff0000"><strong> &lt;bindingRedirect oldVersion="0.0.0.0-8.1.0.0" newVersion="8.1.0.0" /&gt;</strong></span></div>
<div><span style="color: #ff0000"><strong> &lt;/dependentAssembly&gt;</strong></span></div>
<div><em>    &lt;/assemblyBinding&gt;</em></div>
<div><em>  &lt;/runtime&gt;</em></div>
<div>...</div>]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>wizzardmr42</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10200</guid>
                    </item>
				                    <item>
                        <title>RE: Exception creating MySQL Database</title>
                        <link>https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10199</link>
                        <pubDate>Tue, 26 Sep 2023 08:09:58 +0000</pubDate>
                        <description><![CDATA[Worked out from fuslogvw that it couldn&#039;t find MySQL.Data.dll, so I added that to the bin folder of SolidCP Server and now I getService installation results: Could not connect to the specifi...]]></description>
                        <content:encoded><![CDATA[<p>Worked out from fuslogvw that it couldn't find MySQL.Data.dll, so I added that to the bin folder of SolidCP Server and now I get<br /><br /><span style="color: #ff0000">Service installation results: Could not connect to the specified MySQL Server: Authentication method 'caching_sha2_password' not supported by any of the available plugins.</span></p>
<p><span style="color: #000000">Finding this a lot of hassle!</span></p>]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>wizzardmr42</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10199</guid>
                    </item>
				                    <item>
                        <title>RE: Exception creating MySQL Database</title>
                        <link>https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10197</link>
                        <pubDate>Thu, 21 Sep 2023 21:51:15 +0000</pubDate>
                        <description><![CDATA[Installing Connector/NET 8.0.33 seems to have got rid of this problem, but now I&#039;m getting a StackOverflowException where SolidCP.Providers.Database.MySQL.dll!SolidCP.Providers.Database.MySq...]]></description>
                        <content:encoded><![CDATA[<p>Installing Connector/NET 8.0.33 seems to have got rid of this problem, but now I'm getting a StackOverflowException where SolidCP.Providers.Database.MySQL.dll!SolidCP.Providers.Database.MySqlServer.CurrentDomain_AssemblyResolve(object sender, System.ResolveEventArgs args) is calling Assembly.Resolve, which loops back round over and over - I think it is because of the answer on this post, but not sure if that is the case and if so how to work out what the dependencies are https://stackoverflow.com/questions/32245273/assembly-resolve-recurses-into-an-infinite-loop</p>]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>wizzardmr42</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10197</guid>
                    </item>
				                    <item>
                        <title>Exception creating MySQL Database</title>
                        <link>https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10192</link>
                        <pubDate>Mon, 18 Sep 2023 20:11:58 +0000</pubDate>
                        <description><![CDATA[Hi,
 
I&#039;ve got MySQL 8.0 set up in SolidCP.  When I try to create a database under an account, it tells me that an exception has occurred.  I&#039;ve checked the SolidCP event log, and it is sh...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p> </p>
<p>I've got MySQL 8.0 set up in SolidCP.  When I try to create a database under an account, it tells me that an exception has occurred.  I've checked the SolidCP event log, and it is showing this: -</p>
<p> </p>
<p> ERROR: 'MySQL Server 8.0' DatabaseExists<br />System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.<br />at System.ThrowHelper.ThrowKeyNotFoundException()<br />at System.Collections.Generic.Dictionary`2.get_Item(TKey key)<br />at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding()<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field)<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns)<br />at MySql.Data.MySqlClient.Driver.GetColumns(Int32 count)<br />at MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols)<br />at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols)<br />at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)<br />at MySql.Data.MySqlClient.MySqlDataReader.NextResult()<br />at MySql.Data.MySqlClient.MySqlDataReader.Close()<br />at MySql.Data.MySqlClient.MySqlCommand.ResetReader()<br />at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQueryDataSet(String commandText, String connectionString)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQuery(String commandText)<br />at SolidCP.Providers.Database.MySqlServer.DatabaseExists(String databaseName)<br />at SolidCP.Server.DatabaseServer.DatabaseExists(String databaseName)</p>
<p> </p>
<p>If I try to import resources for an existing database or user, I get the following stack traces...</p>
<p> ERROR: 'MySQL Server 8.0' GetUsers<br />System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.<br />at System.ThrowHelper.ThrowKeyNotFoundException()<br />at System.Collections.Generic.Dictionary`2.get_Item(TKey key)<br />at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding()<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field)<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns)<br />at MySql.Data.MySqlClient.Driver.GetColumns(Int32 count)<br />at MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols)<br />at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols)<br />at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)<br />at MySql.Data.MySqlClient.MySqlDataReader.NextResult()<br />at MySql.Data.MySqlClient.MySqlDataReader.Close()<br />at MySql.Data.MySqlClient.MySqlCommand.ResetReader()<br />at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQueryDataSet(String commandText, String connectionString)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQuery(String commandText)<br />at SolidCP.Providers.Database.MySqlServer.GetUsers()<br />at SolidCP.Server.DatabaseServer.GetUsers()</p>
<p> </p>
<p> ERROR: 'MySQL Server 8.0' GetDatabases<br />System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.<br />at System.ThrowHelper.ThrowKeyNotFoundException()<br />at System.Collections.Generic.Dictionary`2.get_Item(TKey key)<br />at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding()<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnData(MySqlField field)<br />at MySql.Data.MySqlClient.NativeDriver.GetColumnsData(MySqlField[] columns)<br />at MySql.Data.MySqlClient.Driver.GetColumns(Int32 count)<br />at MySql.Data.MySqlClient.ResultSet.LoadColumns(Int32 numCols)<br />at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols)<br />at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)<br />at MySql.Data.MySqlClient.MySqlDataReader.NextResult()<br />at MySql.Data.MySqlClient.MySqlDataReader.Close()<br />at MySql.Data.MySqlClient.MySqlCommand.ResetReader()<br />at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br />at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQueryDataSet(String commandText, String connectionString)<br />at SolidCP.Providers.Database.MySqlServer.ExecuteQuery(String commandText)<br />at SolidCP.Providers.Database.MySqlServer.GetDatabases()<br />at SolidCP.Server.DatabaseServer.GetDatabases()</p>
<p> </p>
<p>Any ideas?</p>]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>wizzardmr42</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/exception-creating-mysql-database/#post-10192</guid>
                    </item>
							        </channel>
        </rss>
		