Unity中连接MySQL 错误:KeyNotFoundException: The given key was not present in the dictionary. 解决办法
一:连接数据库时报错stringsql=string.Format("Database={0};DataSource={1};UserId={2};Password={3};",database,host,id,pwd,"3306");在命令后面加上“charset=utf8”定义字符串的编码格式。stringsqlString=string.Format("Database={0};DataSo