La herramienta mysqladmin permite realizar las operaciones más comunes que un administrador de este motor de base de datos necesita realizar con comandos más cortos. Vamos a ver unos ejemplos:
Si ejecutamos mysqladmin sin opciones veremos el conjunto de operaciones que podemos hacer:
# mysqladmin mysqladmin Ver 8.42 Distrib 5.5.8, for Linux on x86_64 Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. (...) Where command is a one or more of: (Commands may be shortened) create databasename Create a new database debug Instruct server to write debug information to log drop databasename Delete a database and all its tables extended-status Gives an extended status message from the server flush-hosts Flush all cached hosts flush-logs Flush all logs flush-status Clear status variables flush-tables …[Lea más]