Syntax
Parameters
Examples
Here is an example. We create a secret namedmysql_pwd, and then use it in the WITH clause. After that, we use the SHOW CREATE SOURCE command to view the password. As shown in the result, the MySQL password is hidden, ensuring no secret leaks.
See also
Manage secrets
A comprehensive guide for secret management operations
DROP SECRET
Dropping a secret