<?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[Topics tagged with analytics]]></title><description><![CDATA[A list of topics that have been tagged with analytics]]></description><link>https://fusionauth.io/community/forum/tags/analytics</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 09:50:42 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/analytics.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Retrieving ids from FusionAuth database tables]]></title><description><![CDATA[<p dir="auto">Hiya,</p>
<p dir="auto">We don't guarantee any database level compatibility (which is why we recommend doing everything through the API, which does have those guarantees).</p>
<p dir="auto">But here's an option. I'm assuming you are using MySQL. FusionAuth uses UUIDs for unique Ids, and in MySQL we store these as BINARY(16).</p>
<p dir="auto">If you want to select this value in a human readable form, you can perform a select such as SELECT HEX(id) FROM table_name.</p>
<p dir="auto">If you want to select this column and deserialize it into a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/UUID.html" rel="nofollow ugc">Java UUID type</a>, you can use code similar to the following:</p>
public UUID fromByteArray(byte[] ba) {
  long msb = 0;
  long lsb = 0;
  for (int i = 0; i &lt; 8; i++) {
    msb = (msb &lt;&lt; 8) | (ba[i] &amp; 0xff);
  }
  for (int i = 8; i &lt; 16; i++) {
    lsb = (lsb &lt;&lt; 8) | (ba[i] &amp; 0xff);
  }
  return new UUID(msb, lsb);
}

<p dir="auto">Another option, depending on your data size, would be to export all the data using the relevant APIs, and import it into your analytics database.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/584/retrieving-ids-from-fusionauth-database-tables</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/584/retrieving-ids-from-fusionauth-database-tables</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>