<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Database connection installation Windows Bug caching_sha2_password]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a problem that prevents me from installing NetXMS 3.4.313 x64 server on Windows Server 2019.</p>
<p dir="auto">My problem is for the connection to the database when installing the NetXMS server.</p>
<p dir="auto">I have already tested the 2 possibilities of either letting the installer create the database or having already created it myself with a user created especially for this database.</p>
<p dir="auto">I also tried the basic login credentials "admin" with the password "netxms" although they shouldn't be the ones that should be used at this point in the installation.</p>
<p dir="auto">In both cases I have the same error which comes to me.</p>
<p dir="auto">I have already researched the "caching_sha2_password" error and could not find a solution to fix this bug.</p>
<p dir="auto">In the administrator's guide it is noted that the compatibility with the MySQL 8.0 server is taken into account.<br />
I tried to install an old version of MySQL Server, 5.7 for example, but it still doesn't work.</p>
<p dir="auto">If you have a solution it is welcome and thank you in advance for your help.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005264-InstallWindowsBug.png" alt="InstallWindowsBug.png" class="img-markdown  img-fluid" width="500" height="423" /></p>
]]></description><link>https://forum.netxms.org/topic/6667/database-connection-installation-windows-bug-caching_sha2_password</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:21:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6667.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Aug 2020 13:40:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Database connection installation Windows Bug caching_sha2_password on Tue, 06 Oct 2020 13:02:27 GMT]]></title><description><![CDATA[<p dir="auto">The other options is to use MySQL client library that is shipped with MySQL server - supports the new authentication option. For this, add these folders to C:\Program Files\MySQL\MySQL Server 8.0\lib`<br />
 C:\Program Files\MySQL\MySQL Server 8.0\bin and uncheck MySQL client library in NetXMS installer.</p>
]]></description><link>https://forum.netxms.org/post/28674</link><guid isPermaLink="true">https://forum.netxms.org/post/28674</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 06 Oct 2020 13:02:27 GMT</pubDate></item><item><title><![CDATA[Reply to Database connection installation Windows Bug caching_sha2_password on Thu, 03 Sep 2020 11:53:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Thanks for your help. Your driver did not work on my MySQL.</p>
<p dir="auto">But the solution: <a href="https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded" rel="nofollow ugc">https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded</a><br />
almost worked for me.</p>
<p dir="auto">Their technique of modifying my.ini (on Windows) blocked the restart of my server.</p>
<p dir="auto">The real solution that worked for me on Windows Server 2019 was to uninstall and then reinstall the MySQL 8.0.21 server, this time changing the encryption of the password during the installtion.</p>
<p dir="auto">As well as creating the database myself and the user because the automatic version of NetXMS does not work.</p>
<p dir="auto">Thanks for the help, good bey.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005265-MySQLMdP.png" alt="MySQLMdP.png" class="img-markdown  img-fluid" width="775" height="588" /></p>
]]></description><link>https://forum.netxms.org/post/28493</link><guid isPermaLink="true">https://forum.netxms.org/post/28493</guid><dc:creator><![CDATA[EPTM]]></dc:creator><pubDate>Thu, 03 Sep 2020 11:53:58 GMT</pubDate></item><item><title><![CDATA[Reply to Database connection installation Windows Bug caching_sha2_password on Wed, 02 Sep 2020 13:36:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Just some suggestions:<br />
As a not so secure workaround, see this: <a href="https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded" rel="nofollow ugc">https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded</a><br />
Instead you could try downloading and installing a driver from <a href="https://www.mysql.com/products/connector/" rel="nofollow ugc">https://www.mysql.com/products/connector/</a>, but I don't know if it will do anything. I had other connectivity issues with postgres and oracle (haven't used mysql), and in those cases installing the appropriate driver helped.</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.netxms.org/post/28491</link><guid isPermaLink="true">https://forum.netxms.org/post/28491</guid><dc:creator><![CDATA[Sch.Donat]]></dc:creator><pubDate>Wed, 02 Sep 2020 13:36:09 GMT</pubDate></item></channel></rss>