mybatis入门---------书写jdbc配置文件

版权声明:本文为博主原创文章,未经博主允许不得转载。 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文件的写法:

key=value

猜你喜欢

转载自blog.csdn.net/ThinkPet/article/details/82693992
今日推荐