I have 6 MySQL Queries and I need to run queries via shell script and the result should get imported in 开发者_运维知识库CSV file I know how to run a single MYSQL query through shell script but how to run multiple queries throught Shell script.
Just put a ";" between all your queries.
SELECT something FROM sometable; UPDATE …
精彩评论