mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1482: fix not found plugins by libmariadb, by not setting the MYSQL_PLUGIN_DIR option on Linux
This commit is contained in:
@ -2565,9 +2565,11 @@ begin
|
||||
if Parameters.WantSSL then
|
||||
ClientFlags := ClientFlags or CLIENT_SSL;
|
||||
|
||||
{$IfDef WINDOWS}
|
||||
// Point libmysql to the folder with client plugins
|
||||
PluginDir := AnsiString(ExtractFilePath(ParamStr(0))+'plugins');
|
||||
SetOption(FLib.MYSQL_PLUGIN_DIR, PAnsiChar(PluginDir));
|
||||
{$EndIf}
|
||||
|
||||
// Enable cleartext plugin
|
||||
if Parameters.CleartextPluginEnabled then
|
||||
|
Reference in New Issue
Block a user