<?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[[SOLVED] 2.1RC1 MySQL Database Init Fails]]></title><description><![CDATA[<p dir="auto">This is a Ubuntu 16.04 system, fully patched using the packages for installation.  Running the command:</p>
<pre><code>nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql
</code></pre>
<p dir="auto">Results in the following:</p>
<pre><code>NetXMS Database Manager Version 2.1-RC1 Build 9010 (2.1-RC1) (UNICODE)

Initializing database...
SQL query failed (Specified key was too long; max key length is 767 bytes):
CREATE TABLE user_profiles (   user_id integer not null,   var_name varchar(255) not null,   var_value longtext not null,   PRIMARY KEY(user_id,var_name) )
Database initialization failed
</code></pre>
<p dir="auto">Suggestions on getting past this point?</p>
]]></description><link>https://forum.netxms.org/topic/5064/solved-2.1rc1-mysql-database-init-fails</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:40:02 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5064.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 May 2017 17:59:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] 2.1RC1 MySQL Database Init Fails on Wed, 17 May 2017 18:13:18 GMT]]></title><description><![CDATA[<p dir="auto">Resolved this on my own, by specifying the character set on the DB create:</p>
<blockquote>
<p dir="auto">CREATE DATABASE netxms CHARACTER SET utf8;</p>
</blockquote>
]]></description><link>https://forum.netxms.org/post/22373</link><guid isPermaLink="true">https://forum.netxms.org/post/22373</guid><dc:creator><![CDATA[lweidig]]></dc:creator><pubDate>Wed, 17 May 2017 18:13:18 GMT</pubDate></item></channel></rss>