Method like "CreateFirebirdDBAlias​​"?

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
ciambotto
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 28.11.2013, 11:19

Method like "CreateFirebirdDBAlias​​"?

Post by ciambotto »

Is there a possibility to insert in your roadmap the implementation of a method like "CreateFirebirdDBAlias​​"?

Tnx
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: Method like "CreateFirebirdDBAlias​​"?

Post by marsupilami »

Hello ciambotto,

what exactly are you trying to do? Adding an alias to thr firebird configuration is as simple as adding a line to the aliases.conf file. But adding this to the Zeos components wouldn't make much sense because it would only be useful on the server and even there finding the correct aliases.conf would not be easy. So it is usually more easy for you to find the correct file and to add the necessary line.
If you still insist on something like that, let me know for which operating system you need this solution.
Best regards,

Jan
ciambotto
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 28.11.2013, 11:19

Re: Method like "CreateFirebirdDBAlias​​"?

Post by ciambotto »

Hi. :-)

in a scenario where I have multiple Firebird (2.1 and some 2.5.x installed in different paths) running on the same server, how can I know the correct path of Aliases.conf?

thanks in advance.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: Method like "CreateFirebirdDBAlias​​"?

Post by marsupilami »

Hello ciambotto,

usually all instances of firebird should register in the registry of your server - if it is windows - under the key
HKEY_LOCAL_MACHINE\SOFTWARE\Firebird Project\Firebird Server\Instances
The first server usually registers in the DefaultInstance.
Best regards,

Jan
Post Reply