/ Published in: DOS Batch
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 .
**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 .
Expand |
Embed | Plain Text