Run Shell Commands from the MySQL Client

Saw a post that says…

Login

Blog History

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.