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

数据库穿透的执行语句在mysql8.0以后的版本会报错,解决方法如下 #4

Open
Lil-Vincent opened this issue Mar 24, 2022 · 0 comments

Comments

@Lil-Vincent
Copy link

1、创建用户

CREATE USER '用户名'@'host' IDENTIFIED BY '密码';

2.授权(全部数据库权限)

grant all privileges on . to '用户名'@'%' ;

3.刷新权限

flush privileges;

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

1 participant