跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

MySQL:允许root远程

来自WHY42
mysql -uroot -p'password'

grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
flush privileges;