WinterChenS / my-site

springboot2.0开发的个人网站,集成了:个人首页,个人博客,个人作品
https://my.winterchen.com:8189
Apache License 2.0
3.23k stars 1.04k forks source link

数据库异常 #20

Closed clycheng2015 closed 5 years ago

clycheng2015 commented 5 years ago

我导入你的数据库到我本地(win7),然后再navicat也看到了你的lu_tale下的表,但是执行ava -jar my-site-1.0.2.RELEASE.jar --spring.profiles.active=dev一直提示访问本拒绝,提示:Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES),是不是你的数据库的密码是mac123,而我的本地数据库密码是root的原因导致的?如果是,该怎么改,哎,前端小白的伤!

zhangwenkang0 commented 5 years ago
font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}

你的数据库没有开启远程访问权限。百度搜索“mysql开启远程访问”就可以解决了

                            张文康

                                mr_zhangwenkang@163.com

    签名由
    网易邮箱大师
    定制

在2019年1月8日 15:25,clycheng2015<notifications@github.com> 写道: 

我导入你的数据库到我本地(win7),然后再navicat也看到了你的lu_tale下的表,但是执行ava -jar my-site-1.0.2.RELEASE.jar --spring.profiles.active=dev一直提示访问本拒绝,提示:Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES),是不是你的数据库的密码是mac123,而我的本地数据库密码是root的原因导致的?如果是,该怎么改,哎,前端小白的伤!

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.