📅  最后修改于: 2022-03-11 15:05:07.045000             🧑  作者: Mango
use mysql;
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON *.* TO 'username'@'localhost';
flush privileges;