Tomcat + mysql - mysql installation underwin2000

xiaoxiao2021-03-06  117

Step1: Download mysql-4.0.14b-win.zip mysqlcc-0.9.4-win32.zip

Step2: Find driver MySQL currently available Java drivers for Connection / J, can download from MySQL official website, find mysql-connector-java-3.0.15-ga-bin.jar file, this driver is pure Java Drivers don't need to do other configurations.

Step3: Configure the driver to put the mysql-connection-java-3.0.15-ga-bin.jar file in Tomcat's common / lib

Step4: Run mysql, enter the user, password, etc. in the pop-up window Step5: Test installation correctly under DOS Command Line: Enter the E: / MySQL / BIN directory, use the command mysqld --console should display The following 040927 19:06:48 InnoDB: StartedMysqld: Ready for Connections.Version: '4.0.21-debug' socket: '' Port: 3306 Source Distribution This means that mysql's service has started, listening port 3306

Then at another DOS window closes mySQL service: mysqladmin -u root shutdown, see the window that just started Mysql is displayed: 040927 19:11:27 mysqld: Normal shutdown040927 19:11:28 InnoDB: Starting Shutdown ... 040927 19 : 11: 31 InnoDB: Shutdown Completed040927 19:11:31 MySQLD: Shutdown Complete indicates that it is closed.

转载请注明原文地址:https://www.9cbs.com/read-99621.html

New Post(0)