Skip to content

Commit c8debe5

Browse files
Update tutorial-discover-mysql-database-instances.md
Added specific privileges required by the MySQL user
1 parent 912d149 commit c8debe5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ The following table lists the regions that support MySQL Discovery and Assessmen
5757
> - Ensure that the user corresponding to the added MySQL credentials have the following privileges:
5858
> - Select permission on information_schema tables.
5959
> - Select permission on mysql.users table.
60+
61+
> - Use the following commands to grant the necessary privileges to the MySQL user
62+
> ```
63+
> GRANT USAGE ON *.* TO 'newuser'@'localhost';
64+
> GRANT PROCESS ON *.* TO 'newuser'@'localhost';
65+
> GRANT SELECT (User, Host, Super_priv, File_priv, Create_tablespace_priv, Shutdown_priv) ON mysql.user TO 'newuser'@'localhost';
66+
> FLUSH PRIVILEGES;
67+
6068
6169
You can review the discovered MySQL databases after around 24 hours of discovery initiation, through the **Discovered servers** view.
6270

0 commit comments

Comments
 (0)