Skip to content

Commit 0412e3a

Browse files
Merge pull request #303966 from Molishv/patch-8
Update tutorial-discover-mysql-database-instances.md
2 parents 072ace9 + a6c4d09 commit 0412e3a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/migrate/tutorial-discover-mysql-database-instances.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ The following table lists the regions that support MySQL Discovery and Assessmen
5858
> - Ensure that the user corresponding to the added MySQL credentials have the following privileges:
5959
> - Select permission on information_schema tables.
6060
> - Select permission on mysql.users table.
61+
> - For MySQL discovery, ensure the appliance's IP or domain is allowed by configuring the necessary firewall rules and MySQL user privileges. The bind-address in my.cnf should also be set to allow external connections if needed.
6162
6263
> - Use the following commands to grant the necessary privileges to the MySQL user
6364
> ```
64-
> GRANT USAGE ON *.* TO 'newuser'@'localhost';
65-
> GRANT PROCESS ON *.* TO 'newuser'@'localhost';
66-
> GRANT SELECT (User, Host, Super_priv, File_priv, Create_tablespace_priv, Shutdown_priv) ON mysql.user TO 'newuser'@'localhost';
67-
> FLUSH PRIVILEGES;
68-
65+
> GRANT USAGE ON *.* TO 'username@ip';
66+
> GRANT PROCESS ON *.* TO 'username@ip';
67+
> GRANT SELECT (User, Host, Super_priv, File_priv, Create_tablespace_priv, Shutdown_priv) ON mysql.user TO 'username@ip';
68+
> GRANT SELECT ON information_schema.* TO 'username@ip';
69+
> GRANT SELECT ON performance_schema.* TO username@ip';
6970
7071
You can review the discovered MySQL databases after around 24 hours of discovery initiation, through the **Discovered servers** view.
7172

0 commit comments

Comments
 (0)