execute mysql through shell script

  1. bhawanisingh

    How to execute MySQL queries from command line/Bash shell ?

    Many a times we need to run MySQL query directly from command line to perform certain tasks like backup of MySQL database or creation of MySQL database and users, without logging into MySQL prompt. You can either run a single query quickly from command line Or you can run queries from Bash...
Top