Hallo zusammen,
ich hoffe mal stark das mir jemand weiterhelfen kann.
Und zwar nutze ich in meinem Programm eine TSQLconnection funktioniert soweit auch prima allerdings, wenn ich das hinter einem Proxy aufrufe bekomme ich keine Verbindung.
Nun wäre die Frage wie kann ich dem teil die Proxydaten bekannt machen?
Momentan sieht es bei mir so aus:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28:
| var SQLConnection : TSQLConnection; SQLQuery : TSQLQuery;
begin SQLConnection := TSQLConnection.Create(Self); SQLConnection.ConnectionName := 'SQLCon'; SQLConnection.DriverName := 'MYSQL'; SQLConnection.GetDriverFunc := 'getSQLDriverMYSQL'; SQLConnection.LibraryName := 'dbxmys30.dll'; SQLConnection.VendorLib := 'LIBMYSQL.dll';
SQLConnection.Params.Values['BlobSize'] := '-1'; SQLConnection.Params.Values['Database'] := 'DB'; SQLConnection.Params.Values['ErrorRessourceFile'] := ''; SQLConnection.Params.Values['HostName'] := 'Host'; SQLConnection.Params.Values['LocaleCode'] := '0000'; SQLConnection.Params.Values['User_Name'] := 'user'; SQLConnection.Params.Values['Password'] := 'password'; SQLConnection.Params.Values['Compressed'] := 'False'; SQLConnection.Params.Values['Encrypted'] := 'False';
SQLConnection.LoginPrompt := False; SQLConnection.ParamsLoaded := True; SQLConnection.KeepConnection := True; SQLConnection.Connected := True;
SQLConnection.Open; |
hab auch schon ewig gegoogled aber ich finde einfach nichts wie ich Proxy Parameter übergeben könnte.
Bzw. gibt es eine alternative welche Proxydaten handlen kann?
Im voraus schonmal danke für die Hilfe.
MfG
Moderiert von
Narses: Delphi-Tags hinzugefügt