Skip to main content

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;'