pymysql.err.InternalError: (1130, "Host '127.0.0.1' is not allowed to connect to this MySQL server")
首先采用[1]:mysql-uroot-pmysql>usemysql;mysql>select'host'fromuserwhereuser='root';mysql>updateusersethost='%'whereuser='root';mysql>flushprivileges;然后采用mysql>usemysql;Readingtableinformationforcompletion