`

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password

阅读更多
MySQL

tomcat启动报错:

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)


解决:

cmd

mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '这儿就是你想要改的密码' WITH GRANT OPTION;

  • 大小: 11.1 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics