How to run a MySQL command from the command line How to run a MySQL query using the command line: Use -e to execute the command. Here is what that will look like: mysql -u Read More