<?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[Installer does not create user and database]]></title><description><![CDATA[<p dir="auto">I have checked on two installations: the installer cannot create a user and then a database when the Create database and database user before initialization checkbox is checked.<br />
OS: Windows<br />
DB: MariaDB</p>
<p dir="auto">Error message:<br />
NetXMS Database Manager Version 5.0.6 Build 5.0-1004-g5f3239af51 (UNICODE)</p>
<p dir="auto">Creating database and user...<br />
SQL query failed (You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.service IDENTIFIED BY '*******'' at line 1):<br />
CREATE USER nx.service IDENTIFIED BY '******'<br />
Unable to create database or user</p>
<p dir="auto">***** PRESS ANY KEY TO CONTINUE *****</p>
]]></description><link>https://forum.netxms.org/topic/7993/installer-does-not-create-user-and-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:11:32 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7993.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Aug 2024 10:37:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Installer does not create user and database on Mon, 12 Aug 2024 06:58:11 GMT]]></title><description><![CDATA[<p dir="auto">If I manually create a database and a user, everything works, but automatic does not. This is an installer error. I tried automatic user and database creation with MS SQL Server as well and the error was repeated.</p>
]]></description><link>https://forum.netxms.org/post/33696</link><guid isPermaLink="true">https://forum.netxms.org/post/33696</guid><dc:creator><![CDATA[saksham.adyso]]></dc:creator><pubDate>Mon, 12 Aug 2024 06:58:11 GMT</pubDate></item><item><title><![CDATA[Reply to Installer does not create user and database on Fri, 09 Aug 2024 15:52:21 GMT]]></title><description><![CDATA[<p dir="auto">Make sure you've selected Legacy Authentication Method when installing MySQL as described in MySQL notes in this chapter: <br />
<a href="https://netxms.org/documentation/adminguide/installation.html#id14" rel="nofollow ugc">https://netxms.org/documentation/adminguide/installation.html#id14</a></p>
<p dir="auto">On Initialize Database page in the installer "Create database and database user before initialization" should be checked, DBA login name should be "root" and DBA password is the password you entered when installing MySQL.</p>
<p dir="auto">Event if this step fails, NetXMS software is fully installed, so you can connect to your MySQL DB with any client and issue queries to create user and database:</p>
<pre><code>CREATE DATABASE netxms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'netxms'@'localhost' IDENTIFIED BY 'PaSsWd';
GRANT ALL on netxms.* to 'netxms'@'localhost';
</code></pre>
<p dir="auto">You may also need to adjust NetXMS configuration file to match these credentials, the file is here: C:\NetXMS\etc\netxmsd.conf</p>
]]></description><link>https://forum.netxms.org/post/33691</link><guid isPermaLink="true">https://forum.netxms.org/post/33691</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 09 Aug 2024 15:52:21 GMT</pubDate></item></channel></rss>