Run Shell Commands from the MySQL Client

Written by James McDonald

May 13, 2021

Saw a post that says you need to put a ! to run a shell command in the MySQL but found in my mysql client that it was \! <shell-command-here>

To drop to a shell. use \! bash

To return to the the mysql> prompt type in exit


Submit a Comment

Your email address will not be published.

You May Also Like…


Zebra Printer Language The above website has a page where you can enter ZPL and it...