<?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[Problem to store Last values into database.]]></title><description><![CDATA[<p dir="auto">I upgraded my Slackware installation from 14.2 to the latest and NetXMS from 2.0.7 to 2.2.7. During the upgrade I had to delete netxms database: DROP DATABASE netxms; . I compiled NetXMS from source with following options: ./configure --with-server --with-agent --with-snmp --with-mariadb --disable-mqtt --disable-ipv6.<br />
After I created the new database, NetXMS started correctly, but not saving any real data from "Last values". It stores values with 01.01.1970 01:00:00 Time Stamp and 0 Value.</p>
<p dir="auto">There are no errors reported in MariaDB and NetXMS logfiles. MariaDB version is: 10.3.8.</p>
<p dir="auto">Can somebody help me, what to check, please?</p>
]]></description><link>https://forum.netxms.org/topic/5661/problem-to-store-last-values-into-database.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:17:27 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5661.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Aug 2018 20:44:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem to store Last values into database. on Sat, 15 Sep 2018 09:56:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">Thanx for your answer. I followed your suggestion and modified the source file. It was successful. I can see stored values now.</p>
<p dir="auto">Thank you very much,<br />
Best regards,<br />
Attila.</p>
]]></description><link>https://forum.netxms.org/post/24813</link><guid isPermaLink="true">https://forum.netxms.org/post/24813</guid><dc:creator><![CDATA[vargaata]]></dc:creator><pubDate>Sat, 15 Sep 2018 09:56:43 GMT</pubDate></item><item><title><![CDATA[Reply to Problem to store Last values into database. on Mon, 03 Sep 2018 16:43:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it's problem with reading data from database, not with storing. It is caused by bug in MariaDB client library <a href="https://jira.mariadb.org/browse/CONC-281" rel="nofollow ugc">https://jira.mariadb.org/browse/CONC-281</a>. It is supposed to be fixed in latest client version, but could be not. Our MariaDB driver has check for client version that activates workaround - maybe it erroneously assumes version number where this issue was fixed. You can try to find the following lines in src/db/dbdrv/mariadb/mariadb.cpp:</p>
<pre><code>/* workaround for MariaDB C Connector bug CONC-281 */
if (mysql_get_client_version() &lt; 100209)  // for any client before 10.2.9
{
    mysql_stmt_store_result(hStmt-&gt;statement);
}
</code></pre>
<p dir="auto">and comment out version check so it will look like this:</p>
<pre><code>/* workaround for MariaDB C Connector bug CONC-281 */
//if (mysql_get_client_version() &lt; 100209)  // for any client before 10.2.9
{
    mysql_stmt_store_result(hStmt-&gt;statement);
}
</code></pre>
<p dir="auto">then recompile MariaDB driver.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/24774</link><guid isPermaLink="true">https://forum.netxms.org/post/24774</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 03 Sep 2018 16:43:47 GMT</pubDate></item><item><title><![CDATA[Reply to Problem to store Last values into database. on Wed, 15 Aug 2018 11:38:15 GMT]]></title><description><![CDATA[<p dir="auto">The strange thing is, when I do a query with mysql CLI from database, for examle: SELECT idata_timestamp,idata_value FROM netxms.idata_114 WHERE item_id = 109; I can see the correct values with timestamp. Do not know how to translate idata_timestamp to real date and time yet, but idata_value is correct.</p>
<p dir="auto">It looks like, the data stored correcly in the database, just the NetXms client (PC and Mobile) cannot display it.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.netxms.org/post/24685</link><guid isPermaLink="true">https://forum.netxms.org/post/24685</guid><dc:creator><![CDATA[vargaata]]></dc:creator><pubDate>Wed, 15 Aug 2018 11:38:15 GMT</pubDate></item></channel></rss>