1.MySQL数据库允许外界访问

    1. ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
    2. flush privileges;