sudo apt-get install nri-mysql
sudo mysql -e "CREATE USER 'newrelic'@'localhost' IDENTIFIED BY 'newrelic';"
sudo mysql -e "GRANT REPLICATION CLIENT ON . TO 'newrelic'@'localhost' WITH MAX_USER_CONNECTIONS 5;"
cd /etc/newrelic-infra/integrations.d
sudo cp mysql-config.yml.sample mysql-config.yml
vi mysql-config.yml
sudo systemctl restart newrelic-infra.service
sudo apt-get install nri-mysql sudo mysql -e "CREATE USER 'newrelic'@'localhost' IDENTIFIED BY 'newrelic';" sudo mysql -e "GRANT REPLICATION CLIENT ON . TO 'newrelic'@'localhost' WITH MAX_USER_CONNECTIONS 5;" cd /etc/newrelic-infra/integrations.d sudo cp mysql-config.yml.sample mysql-config.yml vi mysql-config.yml sudo systemctl restart newrelic-infra.service