Installing the agent for MySQL or MariaDB
Run the command shown when you add the server. It looks like:
curl -fsSL https://sqlnirvana.pyrogroup.com/install-agent.sh | sudo bash -s -- sn_YOURTOKEN
The installer connects as root through the local socket, creates a sqlnirvana user with PROCESS, REPLICATION CLIENT, SHOW VIEW plus SELECT on performance_schema and mysql.user (to check accounts), and starts sqlnirvana-agent.
Letting SQLNirvana apply changes
Add --apply to grant SYSTEM_VARIABLES_ADMIN so approved settings can be applied with SET PERSIST.
Docker
MySQL in a Docker container? Add --docker <container> to the install command.