Copyright (c) 2021 The NERVA Project.
You only need to do this part if your node is seed and you want it to collect analytics data.
To get analytics working on a seed a node server, install MySQL. You can use this article as guide.
You might also need this (change php version to what you have installed):
sudo apt-get install php7.4-mysql
sudo systemctl restart apache2
sudo systemctl restart mysql
Once MySQL is installed properly, run scripts from database\create_scripts.