I am using CentoS. I have mysql installed. I want to run around 60 queries. Whats the best way to do it ? If batch file then how to create batch file and how to run it in mysql environment ?
Create a .sql file write all your queries in that and run it . If you want to run it at some specific time then write a cron job
Use sourc command on mysql prompt, for details http://dev.mysql.com/doc/refman/5.0/en/batch-mode.html