1、ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
2、
use mysql;
create
user
docker identified
by
'123456'
;
grant
all privileges
on
*.*
to
docker@
'%'
identified
by
'123456';
flush privileges;