Run Shell Commands from the MySQL Client

by | May 13, 2021 | GNU/Linux, IT Tips, Linux Tools | 0 comments

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

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.