05-04-2018, Saat: 11:28
Merhaba,
Localhost Mysql db'ye direk bağlantı kurmak istiyorum, Fakat aşağıdaki hatayı alıyorum.
Bu sorunu nasıl çözebilirim?
First chance exception at $744608F2. Exception class EMySQLNativeException with message '[FireDAC][Phys][MySQL] Unknown MySQL server host 'C:\Users\Dostk\Desktop\TESTAPP\Win32\Debug\SMARTAPP(0)'.
Forumda ve webde araştırdım ama çözemedim bir türlü.
Localhost Mysql db'ye direk bağlantı kurmak istiyorum, Fakat aşağıdaki hatayı alıyorum.
Bu sorunu nasıl çözebilirim?
procedure TForm1.Button1Click(Sender: TObject); begin With FDPhysMySQLDriverLink1 do begin Release; DriverID := 'MySQL'; VendorLib := ExtractFilePath(Application.Exename) + '\libmysql.dll'; With FDConnection1 do begin LoginPrompt := False; Params.Clear; Params.Values['DriverID'] := 'MySQL'; Params.Values['Server'] :='C:\Users\Dostk\Desktop\SMARTAPP\Win32\Debug\DBLER'; Params.Values['Port'] := '3306'; Params.Values['Database'] := 'GENEL'; Params.Values['CharacterSet'] := 'utf8'; Connected := True; end; end; end;
First chance exception at $744608F2. Exception class EMySQLNativeException with message '[FireDAC][Phys][MySQL] Unknown MySQL server host 'C:\Users\Dostk\Desktop\TESTAPP\Win32\Debug\SMARTAPP(0)'.
Forumda ve webde araştırdım ama çözemedim bir türlü.