Revision: 67780
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 30, 2014 01:21 by jacktan
Initial Code
@echo off call ${EnvSet_Bash} ::A pause to comfirm the options mysqladmin --defaults-file=%mysqlConf% --print-defaults pause ::Run actually mysqladmin --defaults-file=%mysqlConf% shutdown pause
Initial URL
Initial Description
Run `mysqladmin` to shutdown msyql server with a specified option file. **Vars** to to specify + ${EnvSet_Bash} **Demo** vars specified like + ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat") pluss other bash commond @echo off call set-mysqlRT-Env mysqladmin --defaults-file=%mysqlConf% --print-defaults pause mysqladmin --defaults-file=%mysqlConf% shutdown pause Click the bat file to run it .
Initial Title
A windows batch to shutdown Mysql server
Initial Tags
mysql, server, windows
Initial Language
DOS Batch