1、授权
mysql>
grant
all
privileges
on
*.*
to
'root'
@
'%'
identified
by
'youpassword'
with
grant
option
;
mysql>flush
privileges
;
2、关闭防火墙或开放3306端口
本文共 192 字,大约阅读时间需要 1 分钟。
1、授权
mysql>
grant
all
privileges
on
*.*
to
'root'
@
'%'
identified
by
'youpassword'
with
grant
option
;
mysql>flush
privileges
;
转载于:https://www.cnblogs.com/xuanaiwu/p/6393925.html