以前發的 搜 不到了,爲了方便,再補發以下:mysql
ZConnection1.Protocol := 'mysql-5';
sql
ZConnection1.ControlsCodePage := cGET_ACP;
code
ZConnection1.ClientCodepage := 'utf8';
io
ZConnection1.AutoEncodeStrings := True;
co
try
ZConnection1.Connect; Result := True;
except
Result := False;
end;
end;