LoginSignup
5
4

More than 5 years have passed since last update.

mysqlにmackerel用のユーザを作成して、ステータスを確認する

Last updated at Posted at 2015-01-17

mackerel-plugin-mysql用ユーザーの作成

mysql>grant select on mysql.* to 'mackerel'@'127.0.0.1' identified by 'mackerel_password';
mysql>grant replication client on *.* to 'mackerel'@'127.0.0.1' identified by 'mackerel_password';
mysql>grant process on *.* to 'mackerel'@'127.0.0.1' identified by 'mackerel_password';
mysql>grant select on mysql.* to 'mackerel'@'localhost' identified by 'mackerel_password';
mysql>grant replication client on *.* to 'mackerel'@'localhost' identified by 'mackerel_password';
mysql>grant process on *.* to 'mackerel'@'localhost' identified by 'mackerel_password';
/usr/local/bin/mackerel-plugin-mysql -username=mackerel -password=mackerel_password
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4