You can install the MySQL client for Windows, and then use it to send commands to the server.
http://dev.mysql.com/doc/refman/5.0/en/mysql.html
You can use the following format type for commands
mysql db_name <script.sql> output.tab
or
shell> mysql --user = user_name --password = your_password db_name
Then enter the SQL statement, end it with ";", \ g or \ G and press "Enter".
source share