mysqladmin utility:-
mysqladmin is used for
create db_name - To create new database.
debug - Write debug information to error log.
drop db_name - Delete the database and tables.
extended-status - Display server status variables and their values.
flush-hosts - Flush all the information in host cache.
flush-logs [log_type ...] - Flush all logs.
flush-privileges - Reload the grant tables it is same as reload.
flush-status - Clear status variables
flush-tables - Flush all tables.
flush-threads - Flush the thread cache.
kill id,id,... - Kill server threads.
password new_password - Set a new password.
ping - Check whether the server is available.
processlist - Show a list of active server threads.
reload - Reload the grant tables.
refresh - Flush all tables and close and open log files.
shutdown - Stop the server.
start-slave - Start replication on a slave server.
status - Display a short server status message.
stop-slave - Stop replication on a slave server.
variables - Display the server system variables and their values.
version - Display version information from the server.
mysqladmin is used for
- administrative operations
- check the server's configuration
- current status and other task.
create db_name - To create new database.
debug - Write debug information to error log.
drop db_name - Delete the database and tables.
extended-status - Display server status variables and their values.
flush-hosts - Flush all the information in host cache.
flush-logs [log_type ...] - Flush all logs.
flush-privileges - Reload the grant tables it is same as reload.
flush-status - Clear status variables
flush-tables - Flush all tables.
flush-threads - Flush the thread cache.
kill id,id,... - Kill server threads.
password new_password - Set a new password.
ping - Check whether the server is available.
processlist - Show a list of active server threads.
reload - Reload the grant tables.
refresh - Flush all tables and close and open log files.
shutdown - Stop the server.
start-slave - Start replication on a slave server.
status - Display a short server status message.
stop-slave - Stop replication on a slave server.
variables - Display the server system variables and their values.
version - Display version information from the server.
Comments
Post a Comment