mysql 常用命令

老忘记所以记录一下:

新增用户

GRANT ALL PRIVILEGES ON *.* TO 用户名@”主机” IDENTIFIED BY “密码”;
flush privileges;

Leave a Reply

Your email address will not be published.