/ Published in: DOS Batch
set-mysqlRT-Env.bat
before you run other commands like mysql, call this bat for temporary PATH and other environment variables。
**Vars** to specify
+ ${STH_HOME}
+ ${homeValue}
**Demo**
Vars specified like
+ ${STH_HOME}=MYSQL_HOME
+ ${homeValue}=E:\Programs\MySQL\MySQLServer5.6
pluss other bash commond
@echo off
set MYSQL_HOME=E:\Programs\MySQL\MySQLServer5.6
set PATH=%PATH%;%MYSQL_HOME%\bin
set mysqlConf=mysql-dev.ini
use it like `call setEnv` or
@echo off
call setEnv
cmd
before you run other commands like mysql, call this bat for temporary PATH and other environment variables。
**Vars** to specify
+ ${STH_HOME}
+ ${homeValue}
**Demo**
Vars specified like
+ ${STH_HOME}=MYSQL_HOME
+ ${homeValue}=E:\Programs\MySQL\MySQLServer5.6
pluss other bash commond
@echo off
set MYSQL_HOME=E:\Programs\MySQL\MySQLServer5.6
set PATH=%PATH%;%MYSQL_HOME%\bin
set mysqlConf=mysql-dev.ini
use it like `call setEnv` or
@echo off
call setEnv
cmd
Expand |
Embed | Plain Text