<?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[Проблемы при установке]]></title><description><![CDATA[<p dir="auto">SUSE 11.4, Kernel 2.6..., MySQL Community Server 5.1.57, не могу собрать базу командой /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql, права есть, сервер mysql запущен, таблица создана, конфиг прописан. Получаю:</p>
<blockquote>
<p dir="auto">Initializing database...<br />
SQL query failed (Specified key was too long; max key length is 1000 bytes):<br />
CREATE TABLE images<br />
(<br />
   guid varchar(36) not null,<br />
   name varchar(255) not null,<br />
   category varchar(255) not null,<br />
   mimetype varchar(32) not null,<br />
   protected integer default 0,<br />
   PRIMARY KEY(guid),<br />
   UNIQUE(name, category)<br />
)<br />
Database initialization failed</p>
</blockquote>
<p dir="auto">Версия netxms - netxms-1.1.6. Что примечательно - 1.0.13 на такую же систему встаёт нормально.<br />
Посоветуйте?</p>
]]></description><link>https://forum.netxms.org/topic/1454/проблемы-при-установке</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:24:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1454.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Nov 2011 14:55:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Проблемы при установке on Thu, 24 Nov 2011 17:26:19 GMT]]></title><description><![CDATA[<p dir="auto">V versii 1.0.13 net tablici images. Pri upgrade skoree vsego vilezet ta-ze oshibka, kogda nxdbmgr popitaetsja sozdat' etu tablicu.</p>
]]></description><link>https://forum.netxms.org/post/6338</link><guid isPermaLink="true">https://forum.netxms.org/post/6338</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 24 Nov 2011 17:26:19 GMT</pubDate></item><item><title><![CDATA[Reply to Проблемы при установке on Thu, 24 Nov 2011 10:11:42 GMT]]></title><description><![CDATA[<p dir="auto">Странно что 1.0.13 версия встаёт. Я так же пробовал указывать CodePage в конфигурации перед инициализацией базы, всё равно вываливается. Не беда, я поставил последнюю Stable версию, её можно проапдейтить на 1.16, насколько я помню</p>
<p dir="auto">Спасибо</p>
]]></description><link>https://forum.netxms.org/post/6337</link><guid isPermaLink="true">https://forum.netxms.org/post/6337</guid><dc:creator><![CDATA[makarovs]]></dc:creator><pubDate>Thu, 24 Nov 2011 10:11:42 GMT</pubDate></item><item><title><![CDATA[Reply to Проблемы при установке on Wed, 23 Nov 2011 23:18:24 GMT]]></title><description><![CDATA[<p dir="auto">Это старая проблема MySQL с utf-8, баг висит с 2004 года (<a href="http://bugs.mysql.com/bug.php?id=4541" rel="nofollow ugc">http://bugs.mysql.com/bug.php?id=4541</a>).</p>
<p dir="auto">Можно попробовать так:</p>
<pre><code>CREATE TABLE images
(
   guid varchar(36) not null,
   name varchar(255) not null,
   category varchar(255) not null,
   mimetype varchar(32) not null,
   protected integer default 0,
   PRIMARY KEY(guid),
   UNIQUE(`name`(165), `category`(165))
)
</code></pre>
]]></description><link>https://forum.netxms.org/post/6335</link><guid isPermaLink="true">https://forum.netxms.org/post/6335</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 23 Nov 2011 23:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to Проблемы при установке on Wed, 23 Nov 2011 22:52:47 GMT]]></title><description><![CDATA[<p dir="auto">может помочь смена типа БД на InnoDB</p>
]]></description><link>https://forum.netxms.org/post/6334</link><guid isPermaLink="true">https://forum.netxms.org/post/6334</guid><dc:creator><![CDATA[tm]]></dc:creator><pubDate>Wed, 23 Nov 2011 22:52:47 GMT</pubDate></item></channel></rss>