Home mysql-batch-mode
Post
Cancel

mysql-batch-mode

to run mysql in batch mode, and return results without the columns, use the following switches;

 mysql -h servermysql -sN -e 'show databases'

This post is licensed under CC BY 4.0 by the author.