We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1aa7f0 commit 659e9fcCopy full SHA for 659e9fc
pkg/sidecar/apphelper.go
@@ -136,10 +136,10 @@ func configureExporterUser(cfg *Config) error {
136
query := `
137
SET @@SESSION.SQL_LOG_BIN = 0;
138
139
- CREATE USER IF NOT EXISTS ?@'localhost';
140
- ALTER USER ?@'localhost' IDENTIFIED BY ? WITH MAX_USER_CONNECTIONS 3;
+ CREATE USER IF NOT EXISTS ?@'127.0.0.1';
+ ALTER USER ?@'127.0.0.1' IDENTIFIED BY ? WITH MAX_USER_CONNECTIONS 3;
141
142
- GRANT SELECT, PROCESS, REPLICATION CLIENT ON *.* TO ?@'localhost';
+ GRANT SELECT, PROCESS, REPLICATION CLIENT ON *.* TO ?@'127.0.0.1';
143
`
144
145
user := cfg.MetricsUser
0 commit comments