MySQL8.0 远程访问
2020-02-23 本文已影响0人
钾肥尔德
CREATE USER admin
GRANT ALL ON *.* TO 'admin'@'%';
ALTER USER 'admin'@'%' IDENTIFIED WITH mysql_native_password BY 'yourpassword';
CREATE USER admin
GRANT ALL ON *.* TO 'admin'@'%';
ALTER USER 'admin'@'%' IDENTIFIED WITH mysql_native_password BY 'yourpassword';