Essential MySQL Command Parameters

1. Common mysql Command Options 1. --auto-rehash (tab completion for table names and fields) # mysql -u root --auto-rehash # vim my.cnf [mysql] auto-rehash 2. -B (disable history file, non-interactive mode) # mysql -uroot -D test -e "show tables;" -B 3. -E (vertical output for query results) # mysql -uroot -D test -e "sho ...

Posted on Wed, 03 Jun 2026 16:33:41 +0000 by Vinze