To change the data storage format in PriviMetrics 2 to MySQL, you must create a new site, as direct conversion from XML is not supported.
Go to Site and click Add site.
Change the Data engine option from XML to MySQL.
Save the changes.
Update all analytics implementation snippets by replacing the data-code= parameter with your new code.