1、首先判断时候是否用户确实没有数据库的权限,如果没有
grant all privileges on 想授权的数据库.* to 'user1'@'%';
flush privileges;
2、赋过权限之后如果还报同样的错误,添加如下标红的部分
jdbc.url=jdbc:mysql://localhost:3306/weibo?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
3、如果还是不行,那只能再自行百度了。