<?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[Setup problem - database connection]]></title><description><![CDATA[<p dir="auto">I'm setting up NETXMS 1.2.7 on Windows 7 machine.  I can get through the install and I'm having trouble in the configuration part.  When I try to start Netxms Core I get the following: Unable to establish connection with database (Access denied for user 'netxms_usr'@'localhost' (using password: YES))</p>
<p dir="auto">I have tried using ODBC connection.  I have tried installing MS SQL Server and using that as my DB engine.  I have tried using SQL Lite.  All give the same error, cannot connect to db.</p>
<p dir="auto">I can connect other programs to my database server.  Firewall is off.  It is only Netxms I am having a problem with.</p>
<p dir="auto">When I run netxmsd check I get 'NetXMS Core initialization failed'.</p>
<p dir="auto">Below is my config file(username and password masked out). Any ideas?</p>
<p dir="auto">LogFile = {syslog}<br />
DBDriver = mysql.ddr<br />
DBServer = localhost<br />
DBName = netxms_db<br />
DBLogin = ############<br />
DBPassword = ##############<br />
LogFailedSQLQueries = yes</p>
]]></description><link>https://forum.netxms.org/topic/2469/setup-problem-database-connection</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:25:16 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2469.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jul 2013 19:28:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Setup problem - database connection on Mon, 15 Jul 2013 15:01:40 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I installed the full installer and selected the DB client library each time.  I've probably gone through about 10-15 attempts at installing it.</p>
<p dir="auto">For now, I'm going to use SQL Server and just use the Windows Authentication as I really need to get this up and running.</p>
]]></description><link>https://forum.netxms.org/post/10756</link><guid isPermaLink="true">https://forum.netxms.org/post/10756</guid><dc:creator><![CDATA[jgmankos]]></dc:creator><pubDate>Mon, 15 Jul 2013 15:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Fri, 12 Jul 2013 09:15:10 GMT]]></title><description><![CDATA[<p dir="auto">Your problem is very strange indeed. When you install NetXMS, what installer you was using - full or minimal? If full, did you select to install DB client library?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10749</link><guid isPermaLink="true">https://forum.netxms.org/post/10749</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 12 Jul 2013 09:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Thu, 11 Jul 2013 20:38:24 GMT]]></title><description><![CDATA[<p dir="auto">This is puzzling to say the least.  I was able to get the NetXMS Core service to finally start using SQL Server...only if I switched it to use a Windows account, and I had to run nxdbmgr upgrade because I was getting a different error (something about format for one version, compile for another)</p>
<p dir="auto">I would prefer to run this using MySQL, so I wish I could get this squared away...</p>
]]></description><link>https://forum.netxms.org/post/10742</link><guid isPermaLink="true">https://forum.netxms.org/post/10742</guid><dc:creator><![CDATA[jgmankos]]></dc:creator><pubDate>Thu, 11 Jul 2013 20:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Thu, 11 Jul 2013 19:32:41 GMT]]></title><description><![CDATA[<p dir="auto">Ok, it is basically telling me the password being passed by NetXMS is incorrect.  I can log in manually via command line using the username/password in the config file, but the NetXMS Core service fails.</p>
<p dir="auto">Just for the heck of it, I tried re-installing on a SQL Server 2008 R2 database, and the exact same thing happens.</p>
<p dir="auto">Ideas?  Is the password somehow getting jumbled in the process?  Did I miss a setting somewhere to use specific character set or something?</p>
]]></description><link>https://forum.netxms.org/post/10741</link><guid isPermaLink="true">https://forum.netxms.org/post/10741</guid><dc:creator><![CDATA[jgmankos]]></dc:creator><pubDate>Thu, 11 Jul 2013 19:32:41 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Tue, 09 Jul 2013 13:52:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jgmankos" aria-label="Profile: jgmankos">@<bdi>jgmankos</bdi></a> said in <a href="/post/10727">Setup problem - database connection</a>:</p>
<blockquote>
<p dir="auto">Not getting an error if I log into MySQL via command line with the exact same credentials.  Is there a way to log in MySQL to see what NetXMS is trying as credentials?</p>
</blockquote>
<p dir="auto">I'm no MySQL expert, but a quick look around shows there's a "--verbose" and "--debug" parameter for the mysqld service - perhaps one of those will enable better logging in the "{server name}.err" log file found in \MySQL\data</p>
]]></description><link>https://forum.netxms.org/post/10729</link><guid isPermaLink="true">https://forum.netxms.org/post/10729</guid><dc:creator><![CDATA[Taomyn]]></dc:creator><pubDate>Tue, 09 Jul 2013 13:52:30 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Tue, 09 Jul 2013 13:43:48 GMT]]></title><description><![CDATA[<p dir="auto">Not getting an error if I log into MySQL via command line with the exact same credentials.  Is there a way to log in MySQL to see what NetXMS is trying as credentials?</p>
]]></description><link>https://forum.netxms.org/post/10727</link><guid isPermaLink="true">https://forum.netxms.org/post/10727</guid><dc:creator><![CDATA[jgmankos]]></dc:creator><pubDate>Tue, 09 Jul 2013 13:43:48 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Mon, 08 Jul 2013 14:13:07 GMT]]></title><description><![CDATA[<p dir="auto">Strange as that's more-or-less exactly the same settings I have:</p>
<pre><code>LogFile = {syslog}
DBDriver = mysql.ddr
DBServer = localhost
DBName = netxms_db
DBLogin = netxms
DBPassword = **********
LogFailedSQLQueries = yes
</code></pre>
<p dir="auto">Any errors in the MySQL .err file? You could also try logging into MySQL from the command-line:</p>
<pre><code>mysql -h 127.0.0.1 -u netxms_usr -p
</code></pre>
<p dir="auto">It will prompt you for the password.</p>
]]></description><link>https://forum.netxms.org/post/10722</link><guid isPermaLink="true">https://forum.netxms.org/post/10722</guid><dc:creator><![CDATA[Taomyn]]></dc:creator><pubDate>Mon, 08 Jul 2013 14:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Mon, 08 Jul 2013 13:20:48 GMT]]></title><description><![CDATA[<p dir="auto">MYSql was the one I originally tried.  The user has full access to the MYSql server.  I can connect via other tools....just not Netxms.</p>
]]></description><link>https://forum.netxms.org/post/10721</link><guid isPermaLink="true">https://forum.netxms.org/post/10721</guid><dc:creator><![CDATA[jgmankos]]></dc:creator><pubDate>Mon, 08 Jul 2013 13:20:48 GMT</pubDate></item><item><title><![CDATA[Reply to Setup problem - database connection on Mon, 08 Jul 2013 11:34:04 GMT]]></title><description><![CDATA[<p dir="auto">What DB were you trying to connect to in the first place? That config file seems to be set up for MySQL so you need to be use the user-id has locahost access "%" or "localhost" to your MySQL server and the netxms_db database.</p>
]]></description><link>https://forum.netxms.org/post/10716</link><guid isPermaLink="true">https://forum.netxms.org/post/10716</guid><dc:creator><![CDATA[Taomyn]]></dc:creator><pubDate>Mon, 08 Jul 2013 11:34:04 GMT</pubDate></item></channel></rss>