set-mysql-pass

Change the root MySQL password, even if the current password is unknown This command can be used for forcibly change the MySQL password (typically for the root user), even when the password is unknown. Be careful using it though, as it will shut down the MySQL server for up to 30 seconds during the password change process. Command line help virtualmin set-mysql-pass --pass password [--user username] [--force password change for non-administrative user]

Change the root MySQL password, even if the current password is unknown#

This command can be used for forcibly change the MySQL password (typically for the root user), even when the password is unknown. Be careful using it though, as it will shut down the MySQL server for up to 30 seconds during the password change process.

Command line help#

virtualmin set-mysql-pass --pass password
 [--user username]
 [--force password change for non-administrative user]

Source: https://www.virtualmin.com/docs/development/api-programs/set-mysql-pass/

  • virtualmin, mysql, user, command line, pass
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...