<?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[Fix netxms core service on windows won't start or Unable to establish connection]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I just realized that on a new installation of Windows2008 Standard R2 with MySQL 5.7 if the password contains the character "#" i am taking the error "Unable to connect to database"<br />
I don't know if that is a bug or not.</p>
<pre><code>C:\NetXMS\bin&gt;nxdbmgr check
NetXMS Database Manager Version 2.0.6 Build 8073 (2.0.6-RELEASE) (UNICODE)

Unable to connect to database netxms_db@localhost as netxms: Access denied for
ser 'netxms'@'localhost' (using password: YES)

C:\NetXMS\bin&gt;nxdbmgr check
NetXMS Database Manager Version 2.0.6 Build 8073 (2.0.6-RELEASE) (UNICODE)

Checking database (excluding collected data):
* Checking zone objects...                                            [PASSED]
* Checking node objects...                                            [PASSED]
* Checking interface objects...                                       [PASSED]
* Checking network service objects...                                 [PASSED]
* Checking cluster objects...                                         [PASSED]
* Checking template to node mapping...                                [PASSED]
* Checking object properties...                                       [PASSED]
* Checking event processing policy...                                 [PASSED]
* Checking network map links...                                       [PASSED]
* Checking data tables...                                             [PASSED]
Database doesn't contain any errors
Database check completed
</code></pre>
]]></description><link>https://forum.netxms.org/topic/4724/fix-netxms-core-service-on-windows-won-t-start-or-unable-to-establish-connection</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 20:59:35 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4724.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Sep 2016 11:35:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fix netxms core service on windows won't start or Unable to establish connection on Thu, 04 Mar 2021 20:34:54 GMT]]></title><description><![CDATA[<p dir="auto">You can encode such password with nxencpasswd tool. For example:</p>
<pre><code>nxencpasswd dbuser dbpass#123
</code></pre>
<p dir="auto">will produce string</p>
<pre><code>MKGI20iIOABe/NdxPN/ZMjCyW8ng20jLMLJbyeDbSMs=
</code></pre>
<p dir="auto">which you can use as value for DBPassword parameter.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/29673</link><guid isPermaLink="true">https://forum.netxms.org/post/29673</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 04 Mar 2021 20:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to Fix netxms core service on windows won't start or Unable to establish connection on Thu, 04 Mar 2021 08:19:15 GMT]]></title><description><![CDATA[<p dir="auto">This is apparently still a bug/issue.   The # character cannot be used in the password for the db user (works fine from MySQL Command Line Client).</p>
]]></description><link>https://forum.netxms.org/post/29665</link><guid isPermaLink="true">https://forum.netxms.org/post/29665</guid><dc:creator><![CDATA[cbwecomm]]></dc:creator><pubDate>Thu, 04 Mar 2021 08:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to Fix netxms core service on windows won't start or Unable to establish connection on Sat, 09 Sep 2017 23:54:01 GMT]]></title><description><![CDATA[<p dir="auto">I had the same issue and it worked for me so no special characters</p>
]]></description><link>https://forum.netxms.org/post/23065</link><guid isPermaLink="true">https://forum.netxms.org/post/23065</guid><dc:creator><![CDATA[networkwise]]></dc:creator><pubDate>Sat, 09 Sep 2017 23:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to Fix netxms core service on windows won't start or Unable to establish connection on Mon, 26 Sep 2016 11:54:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tomaskir" aria-label="Profile: tomaskir">@<bdi>tomaskir</bdi></a> said in <a href="/post/21000">Fix netxms core service on windows won't start or Unable to establish connection</a>:</p>
<blockquote>
<p dir="auto">Try to enclose the DB password in "".</p>
<p dir="auto">Does that work?</p>
</blockquote>
<p dir="auto">Same.<br />
I test it and from C:\NetXMS\etc\netxmsd.conf</p>
<p dir="auto">No problem for me. I remove the # and all is ok.</p>
<p dir="auto">I post that just to inform you.</p>
]]></description><link>https://forum.netxms.org/post/21001</link><guid isPermaLink="true">https://forum.netxms.org/post/21001</guid><dc:creator><![CDATA[karanik]]></dc:creator><pubDate>Mon, 26 Sep 2016 11:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to Fix netxms core service on windows won't start or Unable to establish connection on Mon, 26 Sep 2016 11:46:59 GMT]]></title><description><![CDATA[<p dir="auto">Try to enclose the DB password in "".</p>
<p dir="auto">Does that work?</p>
]]></description><link>https://forum.netxms.org/post/21000</link><guid isPermaLink="true">https://forum.netxms.org/post/21000</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Mon, 26 Sep 2016 11:46:59 GMT</pubDate></item></channel></rss>