CentOS 7.3 安装Grafana 6.0(2)

创建数据库及账号

mysql> create database grafana DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> GRANT ALL ON grafana.* TO 'grafana'@'127.0.0.1' IDENTIFIED BY 'grafana';

修改database配置文件

[database] type = mysql host = 127.0.0.1:3306 name = grafana user = grafana password = grafana

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/e7a43e3600500410dd636b15547192d9.html