备忘
CREATE DATABASE mydb CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ON mydb.* TO "username"@"%" IDENTIFIED BY "password";
FLUSH PRIVILEGES;
备忘
CREATE DATABASE mydb CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ON mydb.* TO "username"@"%" IDENTIFIED BY "password";
FLUSH PRIVILEGES;
转载于:https://my.oschina.net/taadis/blog/1548171