mysqladmin create <database>
mysqladmin drop <database>
Gotcha: mysqladmin flush
will not display any errors to stdout. Instead, any problems are logged to mysqld error log. This means that if it keeps running, it could be stuck on a problem, and not tell you.
mysqladmin flush
Reload the grant tables.
mysqladmin flush-privileges
Or:
mysqladmin reload
Mine:
mysqladmin password <password>
Another user's:
mysqladmin -u <username> -p password <password>
mysqladmin proc
mysqladmin kill <id> mysqladmin kill <id>,<id>
mysqladmin status Uptime: 59507 Threads: 1 Questions: 1423 Slow queries: 1 Opens: 2784 Flush tables: 1 Open tables: 64 Queries per second avg: 0.23
mysqladmin variables