NetXMS Support Forum

English Support => General Support => Topic started by: yos on January 29, 2013, 03:23:57 PM

Title: connect to the database netxms
Post by: yos on January 29, 2013, 03:23:57 PM
hello i have problem while  runing this command

/usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql

the result is :

NetXMS Database Manager Version 1.2.5
Unable to connect to database netxms@localhost as netxms: Access denied for user 'netxms'@'localhost' (using password: YES)

netxmsd.conf:


DBDriver = /usr/local/lib/libnxddr_mysql.so
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = PaSsWd
LogFile = /var/log/netxmsd
LogFailedSQLQueries = yes

any help plz
and thanks  :)
Title: Re: connect to the database netxms
Post by: Victor Kirhenshtein on January 30, 2013, 04:31:55 PM
Hi!

It just means what it says: access to database denied. You either using incorrect password, or user netxms is not allowed to login from localhost. Check your MySQL settings.

Best regards,
Victor
Title: Re: connect to the database netxms
Post by: yos on January 31, 2013, 12:03:37 AM
thnk u the problem is solved now