Tomcat + MySQL-mysql installation in Win2000

Source: Internet
Author: User

Step 1: Download mysql-4.0.14b-win.zip?mysqlcc-0.9.4-win32.zip

Step 2: Find the driverProgram
MySQL currently provides the Java driver for connection/J, can be downloaded from the MySQL official website, extract and find the mysql-connector-java-3.0.15-ga-bin.jar file, this driver is pure Java driver, do not need to do other configuration.

Step 3: configure the driver
Put the mysql-connector-java-3.0.15-ga-bin.jar file under Tomcat's common/lib

Step 4: Run MySQL and enter the user and password in the pop-up window.
Step 5:
In DOS command line (run-> cmd) to test whether the installation is correct: Enter the E:/MySQL/bin directory and use the command
Mysqld -- Console
The following content should be displayed:
040927 19:06:48 InnoDB: started
Mysqld: Ready for connections.
Version: '4. 0.21-debug' socket: ''port: 3306 Source Distribution
This indicates that the MySQL service has been started and the listening port is 3306.

Close MySQL service in another DOS window:
Mysqladmin-u root Shutdown
Now the window for starting MySQL is displayed:
040927 19:11:27 mysqld: normal Shutdown
040927 19:11:28 InnoDB: Starting shutdown...
040927 19:11:31 InnoDB: shutdown completed
040927 19:11:31 mysqld: shutdown complete
Indicates that it has been disabled.

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.