Connecting to a Remote Oracle XE11 Database Using FireDac and OSX Mavericks

I made a small application that should connect to a remote Oracle database running inside a virtual machine (W8.1).

Upon successful connection, showmessage should appear.

I applied these steps to enable my application to connect: installing Oracle Instantclient on Mac OS / X without setting environment variables?

The application uses the FireDac Oracle driver FireDAC.Phys.Oracleto connect and TFDGUIxLoginDialogto log in.

guianderror

Nothing really special:

procedure TForm1.Button1Click(Sender: TObject);
begin
  FDConnection1.Connected := True;
end;

procedure TForm1.FDConnection1AfterConnect(Sender: TObject);
begin
  ShowMessage('Connected');
end;

procedure TForm1.FDConnection1Error(ASender: TObject;
  const AInitiator: IFDStanObject; var AException: Exception);
begin
  ShowMessage(AException.ToString);
end;

This works fine and fast on Windows 8.1 and 10.

However, in Mavericks I get an error OID generation failed, as shown in the figure.

, IP- DNS . .

Oracle SQL Developer , tho.

Oralce SQL 15-20 , .

. ~ 7s.

, , ?

, , ?

, , ?

, 5 , .

.

+4
1

, .

OSX Mavericks .

@whosrdaddy, , : http://chaos667.tumblr.com/post/20006357466/ora-21561-and-oracle-instant-client-11-2

Devicename, Sharing → Devicename OSX.

osx control panel devicename

, , .

osx hostfile

.

, echo "127.0.0.1 $(hostname), : 127.0.0.1 LionVM.local.

, , , devicename Mavericks .

.

+3

All Articles