Skip to content
Permalink
Browse files

Cleartext syntax changes

  • Loading branch information...
chadwhitely authored and ansgarbecker committed Jun 11, 2019
1 parent 0facfaa commit fb2e3ef029b8095917d367f7bc707a41cdee4488
Showing with 2 additions and 2 deletions.
  1. +1 −1 source/apphelpers.pas
  2. +1 −1 source/dbconnection.pas
@@ -3524,7 +3524,7 @@ constructor TAppSettings.Create;
InitSetting(asHost, 'Host', 0, False, '127.0.0.1', True);
InitSetting(asUser, 'User', 0, False, '', True);
InitSetting(asPassword, 'Password', 0, False, '', True);
InitSetting(asCleartextPluginEnabled, 'CleartextPluginEnabled' 0, False, '', True);
InitSetting(asCleartextPluginEnabled, 'CleartextPluginEnabled', 0, False, '', True);
InitSetting(asWindowsAuth, 'WindowsAuth', 0, False, '', True);
InitSetting(asLoginPrompt, 'LoginPrompt', 0, False, '', True);
InitSetting(asPort, 'Port', 0, False, '', True);
@@ -1832,7 +1832,7 @@ procedure TMySQLConnection.SetActive( Value: Boolean );

// Enable cleartext plugin
if Parameters.CleartextPluginEnabled then
mysql_options(FHandle, MYSQL_ENABLE_CLEARTEXT_PLUGIN, 1);
mysql_options(FHandle, Integer(MYSQL_ENABLE_CLEARTEXT_PLUGIN), PAnsiChar('1'));

Connected := mysql_real_connect(
FHandle,

0 comments on commit fb2e3ef

Please sign in to comment.
You can’t perform that action at this time.