1 Star 0 Fork 10

wm47266/ webcat

forked from 数据库相关/ webcat 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sqlbackup.bat 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
李杨 提交于 2018-03-30 14:47 . 111
@ECHO OFF
@ECHO.
@ECHO exchange version 1.0.0
@ECHO (c) 2005-2008 xuesong.net
@ECHO.
@ECHO For details, See the exchange web site: http://www.xuesong.net
@ECHO.
cd /d "%~dp0"
del "logs\*.log"
@SET APP_HOME=%~dp0
@SET APP_NAME=%~nx0
@SET LIB_HOME=.
@SET APP_JARS=%LIB_HOME%\build\classes
@SET JRE_JARS=%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\jre\lib\rt.jar
FOR /R %LIB_HOME%\lib %%n in (*.jar) do call :SET_APP_JARS %%n
GOTO :Main
:SET_APP_JARS
set APP_JARS=%APP_JARS%;%~1
GOTO :EOF
:Main
@ECHO APP_HOME: %APP_HOME%
@ECHO USER_LIB: %LIB_HOME%\lib
@ECHO JRE_JARS: %JRE_JARS%
@ECHO APP_JARS: %APP_JARS%
@ECHO.
@REM jar cvfe 1.jar demo.server.http.file.Main *
@ECHO "%JAVA_HOME%\bin\java.exe" -cp ".;%JRE_JARS%;%APP_JARS%" com.skin.exchange.Main "-url" "jdbc:mysql://localhost:3306/mytest?user=root&password=1234&characterEncoding=utf8" "-driver" "com.mysql.jdbc.Driver" "-prop" "a=1&b=2" "-output" "backup\mytest"
"%JAVA_HOME%\bin\java.exe" -cp ".;%JRE_JARS%;%APP_JARS%" com.skin.exchange.Main "-url" "jdbc:mysql://localhost:3306/fmbak?user=root&password=1234&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull" "-driver" "com.mysql.jdbc.Driver" "-prop" "a=1&b=2" "-type" "sql" "-output" "backup\fmbak"
:end
pause
@REM cmd /k
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wm47266/webcat.git
git@gitee.com:wm47266/webcat.git
wm47266
webcat
webcat
master

搜索帮助