<?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[Not able to connect Database]]></title><description><![CDATA[<p dir="auto">Hi,<br />
     Iam getting the below error when iam restarting the nxdbr</p>
<p dir="auto">[root@localhost ~]# /usr/local/bin/nxdbmgr init /usr/local/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">and this is my netxmsd.conf</p>
<p dir="auto">[root@localhost ~]# cat /etc/netxmsd.conf<br />
#<br />
# Sample configuration file for NetXMS server<br />
#</p>
<p dir="auto">#<br />
# DBDriver<br />
#<br />
# Database driver to use<br />
#<br />
# UNIX example:<br />
  DBDriver = /usr/local/lib/libnxddr_mysql.so<br />
#<br />
# Windows example:<br />
# DBDriver = mysql.ddr</p>
<p dir="auto">#<br />
# DBServer<br />
#<br />
# Database server (ODBC source name for ODBC driver)<br />
#<br />
# Example:<br />
 DBServer = localhost</p>
<p dir="auto">#<br />
# DBName<br />
#<br />
# Database name (not used by ODBC driver)<br />
#<br />
# Example:<br />
 DBName = netxms</p>
<p dir="auto">#<br />
# DBLogin<br />
#<br />
# Database user name<br />
#<br />
# Example:<br />
 DBLogin = netxms</p>
<p dir="auto">#<br />
# DBPassword<br />
#<br />
# Database user's password<br />
#<br />
# Example:<br />
 DBPassword = trx123</p>
<p dir="auto">#<br />
# LogFailedSQLQueries<br />
#<br />
# Controls logging of failed SQL queries.<br />
# Possible values: "yes" (default) or "no".<br />
#<br />
# Example:<br />
 LogFailedSQLQueries = yes</p>
<p dir="auto">#<br />
# LogFile<br />
#<br />
# Server's log file. To write log to syslog (or Event Log on Windows),<br />
# use {syslog} as file name.<br />
#<br />
# Examples:<br />
 LogFile = {syslog}<br />
 LogFile = /var/log/netxms</p>
<p dir="auto">Can Some one please help me how to fix this</p>
<p dir="auto">Thanks<br />
Subbu</p>
]]></description><link>https://forum.netxms.org/topic/786/not-able-to-connect-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:43:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/786.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Dec 2009 12:55:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not able to connect Database on Sun, 10 Jan 2010 10:19:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the quick response..Its working now</p>
<p dir="auto">Thanks<br />
Subbu</p>
]]></description><link>https://forum.netxms.org/post/3786</link><guid isPermaLink="true">https://forum.netxms.org/post/3786</guid><dc:creator><![CDATA[user413]]></dc:creator><pubDate>Sun, 10 Jan 2010 10:19:03 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to connect Database on Thu, 07 Jan 2010 11:13:08 GMT]]></title><description><![CDATA[<p dir="auto">Your database user netxms does not have access rights to database netxms. Try to grant required rights with the following MySQL query:</p>
<pre><code>GRANT ALL ON netxms.* to netxms@localhost;
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3776</link><guid isPermaLink="true">https://forum.netxms.org/post/3776</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 07 Jan 2010 11:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to connect Database on Wed, 06 Jan 2010 15:51:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi ,<br />
      I followed the Procedure instructe below Iam getting the below error , Please help me</p>
<p dir="auto">root@localhost ~]# mysql -h localhost -u netxms -p netxms</p>
<p dir="auto">Enter password:<br />
ERROR 1045 (28000): Access denied for user 'netxms'@'localhost' (using password: YES)<br />
[root@localhost ~]# mysql -h localhost -u netxms -p netxms<br />
Enter password:<br />
ERROR 1045 (28000): Access denied for user 'netxms'@'localhost' (using password: YES)<br />
[root@localhost ~]#</p>
<p dir="auto">Thanks in Advance</p>
<p dir="auto">Subbu<br />
[/quote]</p>
]]></description><link>https://forum.netxms.org/post/3771</link><guid isPermaLink="true">https://forum.netxms.org/post/3771</guid><dc:creator><![CDATA[user413]]></dc:creator><pubDate>Wed, 06 Jan 2010 15:51:21 GMT</pubDate></item><item><title><![CDATA[Reply to Not able to connect Database on Wed, 09 Dec 2009 10:37:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Try to connect to database with MySQL command line client:</p>
<p dir="auto">mysql -h localhost -u netxms -p netxms</p>
<p dir="auto">and check error messages.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3695</link><guid isPermaLink="true">https://forum.netxms.org/post/3695</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 09 Dec 2009 10:37:41 GMT</pubDate></item></channel></rss>