MARIADB-ADMIN(1) MariaDB Database System MARIADB-ADMIN(1) (NAME) mariadb-admin - MariaDB ( mariadb-admin mariadb-admin ) (SYNOPSIS) mariadb-admin [options] command [command-arg] [command [command-arg]] ... (DESCRIPTION) mariadb-admin . . mariadb-admin : shell> mariadb-admin [options] command [command-arg] [command [command-arg]] ... mariadb-admin . . o create db_name db_name . o debug error log . Event Scheduler . o drop db_name db_name . o extended-status . o flush-all-statistics (statistics). o flush-all-status . o flush-binary-log (binary log). o flush-client-statistics . o flush-engine-log (engine log). o flush-error-log (error log). o flush-general-log (general query log). o flush-hosts (host cache). o flush-index-statistics . o flush-logs . o flush-privileges ( reload). o flush-relay-log . o flush-slow-log . o flush-ssl SSL. o flush-status . o flush-table-statistics . o flush-tables . o flush-threads () . o flush-user-resources . o kill id,id,... . . o old-password new-password password () ( MySQL 4.1) . o password new-password . mariadb-admin new-password . mariadb-admin ( ) . new-password . Windows ( ) . : shell> mariadb-admin password "my new password" --skip-grant-tables . . password flush-privileges (flush) . mariadb-admin flush-privileges mariadb-admin password . o ping . mariadb-admin 0 1 . Access denied 0 . o processlist (threads) . SHOW PROCESSLIST . --verbose SHOW FULL PROCESSLIST . o reload (grant tables). o refresh (flush) (log). o shutdown . o start-all-slaves (slaves). o start-slave (replication) (slave). o status . o stop-all-slaves (slaves). o stop-slave (replication) (slave). o variables . o version . . : shell> mariadb-admin proc stat +----+-------+-----------+----+---------+------+-------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +----+-------+-----------+----+---------+------+-------+------------------+ | 51 | monty | localhost | | Query | 0 | | show processlist | +----+-------+-----------+----+---------+------+-------+------------------+ Uptime: 1473624 Threads: 1 Questions: 39487 Slow queries: 0 Opens: 541 Flush tables: 1 Open tables: 19 Queries per second avg: 0.0268 mariadb-admin status : o Uptime ( ) MariaDB . o (Threads) () . o (Questions) () . o (Slow queries) log_slow_query_time . o (Opens) . o (Flush tables) flush-* refresh reload . o (Open tables) . o (Memory in use) mariadbd . MariaDB --with-debug=full . o (Maximum memory used) mariadbd . MariaDB --with-debug=full . mariadb-admin shutdown mariadb-admin (PID) . mariadb-admin [mariadb-admin] [client] (option file) . o --help -? . o --character-sets-dir=path (character sets). o --compress -C . o --connect-timeout=timeout --connect_timeout . o --count=N, -c N --sleep . o --debug[=debug_options], -# [debug_options] . debug_options 'd:t:o,file_name' . 'd:t:o,/tmp/mariadb-admin.trace' . o --debug-check . o --debug-info CPU . o --default-auth . o --default-character-set=charset_name charset_name . o --defaults-extra-file=filename filename . . o --defaults-file=filename filename . . o --force, -f drop db_name. . o --host=host_name, -h host_name MariaDB . o --local, -l () SQL (binary log) FLUSH LOCAL sql_log_bin=0 . o --no-beep, -b . o --no-defaults . . o --password[=password], -p[password] . (-p) . password --password -p mariadb- admin . . o --pipe, -W Windows named pipe . named-pipe . o --port=port_num, -P port_num TCP/IP 0 : my.cnf $MYSQL_TCP_PORT /etc/services (3306). --protocol=tcp . o --print-defaults . . o --protocol={TCP|SOCKET|PIPE|MEMORY} . . o --relative, -r --sleep . extended-status . o --shutdown-timeouttimeout --shutdown_timeout . o --silent, -s . o --sleep=delay, -i delay delay . --count . --count mariadb-admin . o --socket=path, -S path localhost (Unix socket) Windows named pipe . --protocol=socket Windows --protocol=pipe . o --ssl SSL ( ). --skip-ssl. o --ssl-ca=name CA PEM ( OpenSSL --ssl ). o --ssl-capath=name CA ( OpenSSL --ssl ). o --ssl-cert=name X509 PEM ( OpenSSL --ssl ). o --ssl-cipher=name SSL ( OpenSSL --ssl ). o --ssl-key=name X509 PEM ( OpenSSL --ssl ). o --ssl-crl=name ( OpenSSL --ssl ). o --ssl-crlpath=name ( OpenSSL --ssl ). o --ssl-verify-server-cert <> . . o --tls-version=name, TLS . TLS . TLS . o --user=user_name, -u user_name MariaDB . o --verbose, -v (verbose). . o --version, -V . o --vertical, -E . --relative . o --wait[=count], -w[count] . count . . o --wait-for-all-slaves binlog slave . . --var_name=value o connect_timeout (timeout). 43200 (12 ) . o shutdown_timeout . 3600 (1 ) . (COPYRIGHT) Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2025 MariaDB Foundation (GNU General Public License) . . . : Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA . (SEE ALSO) MariaDB . (AUTHORS) MariaDB (). MariaDB 11.8 5 March 2025 MARIADB-ADMIN(1)