DBReplicator設定setpath.bat引數

std1984發表於2010-01-25

環境:windows XP ,mysql

在配置目錄下找到setpatch.bat,設定以下引數:

@REM The path to where the java installation is
SET JAVA_HOME="D:\oracle11g\product\11.1.0\db_1\jdk"

@REM the classpath, to include any jdbc jar files
SET JDBC_CLASSPATH=D:\program\dbreplicator\java\DBReplicator.jar;mysql-connector-java-5.1.5-bin.jar;log4j.jar

@REM The name of this host, as used by others to connect to it
SET SERVER_NAME=condor-hq

特別注意JAVA_HOME中的目錄引數不能有空格,否則無法啟動PubServer.bat和SubServer.bat

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16582684/viewspace-625903/,如需轉載,請註明出處,否則將追究法律責任。

相關文章