1. mysql>update user set host = '%' where user = 'root';
2. mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION
//赋予任何主机访问数据的权限
3. mysql>FLUSH PRIVILEGES
这样就可以在其它任何的主机上以root身份登录啦!
Unity 报错: the given key was not present in the dictionary
修改mysql数据库uft8,而不要utf8mb4,表字段类型也改;