GRANT ALL PRIVILEGES ON db.table TO 'user'@'%' IDENTIFIED BY 'password;'
GRANT ALL PRIVILEGES ON db.table TO 'user'@localhost IDENTIFIED BY 'password;'
phpmyadmin 中 同时制定 % loaclhost 都能访问 该怎么写?
· 预计阅读时间 1 min
GRANT ALL PRIVILEGES ON db.table TO 'user'@'%' IDENTIFIED BY 'password;'
GRANT ALL PRIVILEGES ON db.table TO 'user'@localhost IDENTIFIED BY 'password;'