1.数据库music以及字符集和排序规则如下:
2.springboot项目中application.properties 配置内容:
server.port=8888 spring.datasource.url=jdbc:mysql://localhost:3308/music?serverTimeZone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false spring.datasource.username=root spring.datasource.password=123456 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
原创文章,作者:306829225,如若转载,请注明出处:https://blog.ytso.com/277876.html