官术网_书友最值得收藏!

Time for action — installing MySQL connector/J 5.1

You can download the Connector/J 5.1 JDBC driver from MySQL Developer Zone. Just follow the simple steps:

  1. Open your web browser and go to http://dev.mysql.com/downloads/ connector/j/5.1.html. Scroll down until you locate the Source and Binaries (zip) Download link:
    Time for action — installing MySQL connector/J 5.1Roller installation, on WindowsMySQL JDBC driver
  2. Click on this link to start the download. Select the Save File radio button in the Opening mysql-connector-java-5.1.7.zip dialog and click on the OK button.
  3. Once the file has been downloaded, navigate to the directory where you downloaded the file.
  4. Unzip the file and double-click on the mysql-connector-java-5.1.7 folder. Look for the mysql-connector-java-5.1.7.jar file, right-click on it and select Copy:
    Time for action — installing MySQL connector/J 5.1Roller installation, on WindowsMySQL JDBC driver
  5. Now go to Tomcat's lib folder (C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib), right-click on an empty space in Windows Explorer's right panel and select Paste from the pop-up menu to paste the mysql-connector-java-5.1.7.jar file:
    Time for action — installing MySQL connector/J 5.1Roller installation, on WindowsMySQL JDBC driver
  6. You can close Windows Explorer and your web browser now.

What just happened?

In the previous exercise, you downloaded MySQL Connector/J 5.1—a JDBC driver that Apache Roller uses to communicate with the MySQL database that holds all the information related to blogs, users, comments, and configuration parameters. This file contains all the Java code needed to communicate with the MySQL database server, and Roller does it for you automatically. Now let's see how to install Roller on Tomcat.

主站蜘蛛池模板: 临武县| 安西县| 凤山市| 丰顺县| 淮安市| 翼城县| 陇西县| 大足县| 雷州市| 屏边| 湘潭县| 常山县| 南开区| 中江县| 芜湖市| 临沂市| 凉山| 富宁县| 扎赉特旗| 宣威市| 义乌市| 远安县| 墨玉县| 宝应县| 志丹县| 河津市| 扎兰屯市| 西畴县| 平陆县| 龙岩市| 扶绥县| 普宁市| 理塘县| 宾川县| 巫溪县| 淮阳县| 安义县| 崇阳县| 惠州市| 锦屏县| 大邑县|