版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ThinkPet/article/details/82693992
配置文件名db.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1:3306/shop_product_db?useUnicode=true&characterEncoding=utf-8
jdbc.username=root
jdbc.password=123456
properties文件的写法: