Page 1 of 1
Method like "CreateFirebirdDBAlias"?
Posted: 01.01.2014, 18:40
by ciambotto
Is there a possibility to insert in your roadmap the implementation of a method like "CreateFirebirdDBAlias"?
Tnx
Re: Method like "CreateFirebirdDBAlias"?
Posted: 01.01.2014, 22:21
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
Re: Method like "CreateFirebirdDBAlias"?
Posted: 02.01.2014, 09:52
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.
Re: Method like "CreateFirebirdDBAlias"?
Posted: 02.01.2014, 20:52
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