Can I get a stdout of basic MySQL commands in BASH? show, describe for starters. I'm troubleshooting a problem with several databases and I want to compare them with increasing specificity. The dump is just too much information.
To exit from mysql type quit at the mysql> command-prompt.
The Workbench Scripting Shell provides a means for entering and executing Python scripts. Through the use of the scripting shell, MySQL Workbench can support new behavior and data sources using code written in Python. The shell can also be used to explore the current Workbench Generic RunTime (GRT) facilities.
echo "command" | mysql -u username -ppassword -h host database_name
not only basic command but full SQL can be run this way
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With