NexusDB UniConnection cannot connect to remote server without empty database

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
VojkoCendak
Posts: 7
Joined: Thu 23 Apr 2020 12:52

NexusDB UniConnection cannot connect to remote server without empty database

Post by VojkoCendak » Thu 23 Apr 2020 13:46

Hi, (NexusDB4 pro, Delphi XE5 ent)

Is this as designed ?
Problem: we want to create new alias (from SQL DDL)
1. connect to server ==> here it throws "unknown database" if we have Server specified "[email protected]"
2. then create alias ...

Thank you
Vojko Cendak

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: NexusDB UniConnection cannot connect to remote server without empty database

Post by ViktorV » Fri 24 Apr 2020 10:06

Are you able to connect to the server without specifying the database name and then run the DDL to create an alias using the standard NexusDB components?
If you're able to connect to the server, please describe how you do that.

VojkoCendak
Posts: 7
Joined: Thu 23 Apr 2020 12:52

Re: NexusDB UniConnection cannot connect to remote server without empty database

Post by VojkoCendak » Wed 29 Apr 2020 17:39

You can connect to an in memory database by using
#inmemdbname for the database AliasPath and go from there.

(answer from Nexus team);

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: NexusDB UniConnection cannot connect to remote server without empty database

Post by ViktorV » Thu 30 Apr 2020 06:27

We have already fixed the issue, the fix will be included in the next UniDAC. In the new build, an #INMEM alias is created automatically when it is specified in the Database property. Therefore, in the new build, to solve the issue, you can set the Database property to #INMEM.
Please specify your IDE version and we'll send you the nightly build of UniDAC that includes the fix.

VojkoCendak
Posts: 7
Joined: Thu 23 Apr 2020 12:52

Re: NexusDB UniConnection cannot connect to remote server without empty database

Post by VojkoCendak » Mon 04 May 2020 07:11

Thank you,

XE5 pro and Rio 10.3.3 ent

all the best,
Vojko Cendak

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: NexusDB UniConnection cannot connect to remote server without empty database

Post by ViktorV » Fri 08 May 2020 17:14

We have answered you via e-mail.

Post Reply