Change MariaDB user password

Change the password of an existing user. Run inside MariaDB shell as root.

Updates a MariaDB user's password and flushes privileges to apply it immediately. Use after a credential rotation or security incident.

When you need this: After a security incident, credential rotation schedule, or when sharing access that needs revoking.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.