How to install and test the SQLServer2000 JDBC driver in JSP connection to various databases?

Source: Internet
Author: User
Tags microsoft sql server mssqlserver
Complete installation and testing of SQLServer2000 JDBC driver through JSP connection to various databases
Complete installation and testing of SQLServer2000 JDBC driver (reprinted)
1. Download the jdbc driver of SQLSERVER2000.
This driver is available at the Microsoft site:
Window operating system
Http://www.uncj.com/upload/files/ms_jdbc_setup.exe
Http://download.microsoft.com/download/SQLSVR2000/jdbc/2000/NT45XP/EN-US/setup.exe
Unix OS Mssqlserver.tar
Http://download.microsoft.com/download/SQLSVR2000/jdbc/2000/UNIX/EN-US/mssqlserver.tar
II. Install JDBC
Execute the ms_jdbc_setup.exe executable file. You only need to click next to finish to complete the installation.
Note:
(1) the default installation path of ms_JDBC_setup is:
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBC
(2) this Version (Version 2.2.0022) only supports
Microsoft SQL Server 2000 Driver for JDBC
(3) The three jar files under the installation directory lib are the core of the JDBC driver.
Msbase. jar
Mssqlserver. jar
Msutil. jar
3. Add the three jar files mentioned in (3) to the environment variables.
Classpath:
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsbase. jar;
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmssqlserver. jar;
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsutil. jar
Note: We recommend that you copy the above three files to the lib or class directory of your jvm machine. At this time, I copied it to jre/lib/ext under my jvm directory.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.