Thanks for all users and have a nice end of the year 2008. Petr On Thu, Dec 25, 2008 at 5:22 PM, Oleg Broytmann <p...@phd.pp.ru> wrote:
> The explanation is now in the SVN (docs/SQLObject.txt, section 'Firebird' > under references). Docs on site will be updated on the next release. Thank > you! Sorry for long delay. > > On Mon, Oct 06, 2008 at 02:19:18PM +0200, Petr Jake?? wrote: > > > Vertical bar is replaces by a semicolon only on a w32 - it was done > > > specifically for SQLite. I have never considered a possibility for a > linux > > > client to connect to a w32 server using w32 filenames. > > > In POSIX OS a vertical bar is a pretty normal character and must not > be > > > processed. See: > > > > > > $ echo 'test' >'d|x' > > > $ cat 'd|x' > > > test > > > > > > The most correct way to fix your problem is to connect to the DB > using > > > a database name, not a file name. Is it possible in Firebird? > > > > > > db_name = 'sysdat01.gdb' > > > connection_string = 'firebird://winsrv.xxx.xx:3050/' + db_name > > > > > > Thanks for the tip. Now it works. > > > > In the Firebird you can set an alias instead of database name. > > > > It is possible to define an alias for Firebird in the aliases.conf file > > > > example from: > > > > http://www.janus-software.com/fbmanual/manual.php?book=admin&topic=4 > > > > # fbdb1 is on a Windows server: > > fbdb1 = c:\Firebird\sample\Employee.fdb > > # fbdb2 is on a Linux server > > fbdb2 = /opt/databases/killergames.fdb > > # > > > > You can edit aliases.conf whilst the server is running. There is no need > to > > stop and restart the server in order for new aliases.conf entries to be > > recognised. > > Oleg. > -- > Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru > Programmers don't die, they just GOSUB without RETURN. >
------------------------------------------------------------------------------
_______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss