JAVA MySQL 的設定
發表於 : 2005-12-28 12:41:38
UserName:root
Password:
JDBC Driver:com.mysql.jdbc.Driver
DataBase URL : jdbc:mysql://localhost:3306/資料庫名稱
把 mysql-connector-java-3.1.12-bin.jar 放入
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
及C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext 中
在專案的ClassPath 要設定到
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.12-bin.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jdbc2_0-stdext.jar
* C:\Program Files\Apache Group\Tomcat 4.1\common\lib;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.12-bin.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jdbc2_0-stdext.jar
Password:
JDBC Driver:com.mysql.jdbc.Driver
DataBase URL : jdbc:mysql://localhost:3306/資料庫名稱
把 mysql-connector-java-3.1.12-bin.jar 放入
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
及C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext 中
在專案的ClassPath 要設定到
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.12-bin.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jdbc2_0-stdext.jar
* C:\Program Files\Apache Group\Tomcat 4.1\common\lib;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.12-bin.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jdbc2_0-stdext.jar