Questions in category: Tomcat (Tomcat)
软件 >> Java >> Tomcat

1. Tomcat 连接 MySQL

Posted by haifeng on 2020-12-03 11:03:44 last update 2020-12-03 11:26:43 | Answers (0) | 收藏


下载 Tomcat 9

Apache Tomcat® - Apache Tomcat 9 Software Downloads

 

Windows 下 Tomcat 默认安装在

C:\Program Files\Apache Software Foundation\Tomcat 9.0

 

下载 mysql-connector-java, 比如

mysql-connector-java-8.0.22.jar

将其拷贝到 Tomcat 的 lib 目录下

C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib