Skip to content

Commit c034a2f

Browse files
authored
Use consistent Host in mysql config examples
Currently it creates a user @'127.0.0.1' but then tries to grant perms to @'localhost'. I don't know which one of these two you would prefer to be in the documentation, but at the moment the instructions do not work.
1 parent 6225b64 commit c034a2f

File tree

1 file changed

+1
-1
lines changed
  • documentation/docs/install-pmm/install-pmm-client/connect-database/mysql

1 file changed

+1
-1
lines changed

documentation/docs/install-pmm/install-pmm-client/connect-database/mysql/mysql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ This example creates a pmm user account that has just enough access to collect m
104104

105105
```sql
106106
CREATE USER 'pmm'@'127.0.0.1' IDENTIFIED BY '<your_strong_password>' WITH MAX_USER_CONNECTIONS 10;
107-
GRANT SELECT, PROCESS, REPLICATION CLIENT, RELOAD ON *.* TO 'pmm'@'localhost';
107+
GRANT SELECT, PROCESS, REPLICATION CLIENT, RELOAD ON *.* TO 'pmm'@'127.0.0.1';
108108
```
109109

110110
=== "On MySQL 8.x"

0 commit comments

Comments
 (0)