Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能登录,getmenue报错(mysql用户名密码不对) #391

Closed
yuntiantec opened this issue Mar 4, 2021 · 1 comment
Closed

能登录,getmenue报错(mysql用户名密码不对) #391

yuntiantec opened this issue Mar 4, 2021 · 1 comment

Comments

@yuntiantec
Copy link

IN-VUE-ADMIN]2021/03/04 - 14:01:16.151 error /home/gopath/src/micro_plat_admin/server/api/v1/sys_menu.go:23 获取失败! {"err": "Error 1045: Access denied for user 'zhongchou'@'localhost' (using password: YES)"}
gin-vue-admin/api/v1.GetMenu
/home/gopath/src/micro_plat_admin/server/api/v1/sys_menu.go:23
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
gin-vue-admin/middleware.OperationRecord.func1
/home/gopath/src/micro_plat_admin/server/middleware/operation.go:60
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
gin-vue-admin/middleware.CasbinHandler.func1
/home/gopath/src/micro_plat_admin/server/middleware/casbin_rbac.go:23
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
gin-vue-admin/middleware.JWTAuth.func1
/home/gopath/src/micro_plat_admin/server/middleware/jwt.go:67
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
gin-vue-admin/middleware.Cors.func1
/home/gopath/src/micro_plat_admin/server/middleware/cors.go:24
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.RecoveryWithWriter.func1
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:83
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241
github.com/gin-gonic/gin.(*Context).Next
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/gopath/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:409
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/gopath/pkg/mod/github.com/gin-gon

@yuntiantec yuntiantec changed the title 能登录,getmenue报错(mysql用户名比吗不对) 能登录,getmenue报错(mysql用户名密码不对) Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@yuntiantec and others