<?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[nxdbmgr not working with mysql]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Initializing mysql DB with nxdbmgr is showing this message:</p>
<p dir="auto">/ # /opt/bin/nxdbmgr  init /opt/share/netxms/sql/dbinit_mysql.sql<br />
NetXMS Database Manager Version 0.2.31</p>
<p dir="auto">Configuration file OK<br />
Unable to connect to database netxms@localhost as netxms</p>
<p dir="auto">The following was the configuration in mysql:</p>
<p dir="auto">/tmp/netxms-0.2.31/contrib # mysql -U mysql -p<br />
Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 2323475<br />
Server version: 5.1.25-rc-standard-log Source distribution</p>
<p dir="auto">Type 'help;' or '\h' for help. Type '\c' to clear the buffer.</p>
<p dir="auto">mysql&gt; CREATE DATABASE netxms;<br />
Query OK, 1 row affected (0.00 sec)</p>
<p dir="auto">mysql&gt; GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'PaSsWd';<br />
Query OK, 0 rows affected (0.01 sec)</p>
<p dir="auto">mysql&gt; \q<br />
Bye</p>
<p dir="auto">Configuration in netxmsd.conf:</p>
<p dir="auto"> DBDriver = /opt/lib/libnxddr_mysql.so<br />
#<br />
# DBServer<br />
#<br />
 DBServer = localhost<br />
#<br />
# DBName<br />
 DBName = netxms<br />
#<br />
# DBLogin<br />
#<br />
 DBLogin = netxms<br />
#<br />
# DBPassword<br />
#<br />
 DBPassword = PaSsWd</p>
<p dir="auto">May be the initialization script is complaining because password in command line is not allowed in mysql configuration?</p>
]]></description><link>https://forum.netxms.org/topic/842/nxdbmgr-not-working-with-mysql</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:44:18 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/842.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Feb 2010 02:51:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nxdbmgr not working with mysql on Mon, 08 Feb 2010 18:42:44 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Victor</p>
<p dir="auto">You are right, now is working fine:</p>
<p dir="auto">/ # /opt/bin/nxdbmgr check<br />
NetXMS Database Manager Version 0.2.31</p>
<p dir="auto">Configuration file OK<br />
Checking database:<br />
* Checking node objects...                                              [PASSED]<br />
* Checking interface objects...                                         [PASSED]<br />
* Checking network service objects...                                   [PASSED]<br />
* Checking cluster objects...                                           [PASSED]<br />
* Checking template to node mapping...                                  [PASSED]<br />
* Checking object properties...                                         [PASSED]<br />
* Checking event processing policy...                                   [PASSED]<br />
* Checking collected data...                                            [PASSED]<br />
Database doesn't contain any errors<br />
Database check completed</p>
]]></description><link>https://forum.netxms.org/post/3925</link><guid isPermaLink="true">https://forum.netxms.org/post/3925</guid><dc:creator><![CDATA[Macphisto]]></dc:creator><pubDate>Mon, 08 Feb 2010 18:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr not working with mysql on Mon, 08 Feb 2010 07:57:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">If you are connecting to localhost, you should grabt access to database in this way:</p>
<p dir="auto">GRANT ALL ON netxms.* TO netxms@localhost IDENTIFIED BY 'PaSsWd';</p>
<p dir="auto">Because MySQL threats localhost connections differently. (MySQL page where this behavior is explained: <a href="http://dev.mysql.com/doc/refman/5.1/en/adding-users.html" rel="nofollow ugc">http://dev.mysql.com/doc/refman/5.1/en/adding-users.html</a>).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3921</link><guid isPermaLink="true">https://forum.netxms.org/post/3921</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 08 Feb 2010 07:57:24 GMT</pubDate></item></channel></rss>