Skip to content

Commit 8708f87

Browse files
authored
Fixed formatting issues in MySQL commands
'' added to IP address
1 parent 6561cd6 commit 8708f87

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

articles/migrate/best-practices-least-privileged-account.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ For MySQL discovery, ensure the appliance's IP or domain is allowed by configuri
366366
Use the following commands to grant the necessary privileges to the MySQL user:
367367

368368
```Mysql
369-
GRANT USAGE ON *.* TO 'username@ip';
370-
GRANT PROCESS ON *.* TO 'username@ip';
371-
GRANT SELECT (User, Host, Super_priv, File_priv, Create_tablespace_priv, Shutdown_priv) ON mysql.user TO 'username@ip';
372-
GRANT SELECT ON information_schema.* TO 'username@ip';
373-
GRANT SELECT ON performance_schema.* TO 'username@ip';
369+
GRANT USAGE ON *.* TO 'username'@'ip';
370+
GRANT PROCESS ON *.* TO 'username'@'ip';
371+
GRANT SELECT (User, Host, Super_priv, File_priv, Create_tablespace_priv, Shutdown_priv) ON mysql.user TO 'username'@'ip';
372+
GRANT SELECT ON information_schema.* TO 'username'@'ip';
373+
GRANT SELECT ON performance_schema.* TO 'username'@'ip';
374374

375375
```
376376

0 commit comments

Comments
 (0)