GRANT ALL PRIVILEGES ON 数据库名称.* TO '账号名称'@'%' IDENTIFIED BY '账号密码' WITH GRANT OPTION
MySQL creates an account that only has permissions to a certain database
Guess you like
Origin blog.csdn.net/cainiao1412/article/details/111409483
Ranking