Skip to content

Commit

Permalink
add mysqld
Browse files Browse the repository at this point in the history
add mysqld
  • Loading branch information
tainguyenbp authored Mar 12, 2021
1 parent 60127bb commit 8e061df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysqld_exporter/install-blackbox-exporter-centos7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@ systemctl start node_exporter.service
systemctl status node_exporter.service

rm -rf /etc/node_exporter.tar.gz


CREATE USER 'mysqld'@'localhost' IDENTIFIED BY 'mysqld';
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'mysqld'@'localhost';
FLUSH PRIVILEGES;

0 comments on commit 8e061df

Please sign in to comment.