OS Manuals

mysqlrouter_passwd(1)

mysqlrouter_passwd - MySQL Router Password Tool

MYSQLROUTER_PASSWD(1) MySQL Router MYSQLROUTER_PASSWD(1)

mysqlrouter_passwd - MySQL Router Password Tool

mysqlrouter_passwd [options]

The mysqlrouter_passwd utility is a command line application to manage the accounts in the passwd file. For example usage, see Section 6.1, “A Simple MySQL Router REST API Guide”.


Note

This feature was added in MySQL Router 8.0.16.

Usage information:

Usage

mysqlrouter_passwd [opts] <cmd> <filename> [<username>]
mysqlrouter_passwd --help
mysqlrouter_passwd --version Commands
delete
Delete username (if it exists) from <filename>.
list
list one or all accounts of <filename>.
set
add or overwrite account of <username> in <filename>.
verify
verify if password matches <username>'s credentials in <filename>. Options
-?, --help
Display this help and exit.
--kdf <name>
Key Derivation Function for 'set'. One of pbkdf2-sha256, pbkdf2-sha512,
sha256-crypt, sha512-crypt. default: sha256-crypt
-V, --version
Display version information and exit.
--work-factor <num>
Work-factor hint for KDF if account is updated.

Copyright © 2006, 2026, Oracle and/or its affiliates.

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.

Oracle Corporation (http://dev.mysql.com/).

03/17/2026 MySQL 8.0

mysql-8.0 8.0.46-r12 · enterprise-packages · ingested 2026-10-28