linux - How to connect a TA+ Database (Firebird) on Raspbian? -
we using safescan's ta+ software on windows machine @ work, try move database (tadata.fdb) onto small linux server, why bought raspberry pi2 , installed raspbian , firebird 2.5 super on it. afterwards copied tadata.fdb file windows 7 machine onto pi , set sysdba password "masterkey".
if try connect said database on windows machine using
connect "c:\program files (x86)\safescan\ta4\tadata.fdb" user 'sysdba' password 'masterkey'
everything works fine , can access database. however, if use equivalent command
connect "/var/lib/firebird/2.5/data/tadata.fdb" user 'sysdba' password 'masterkey'
on raspberry, following response:
statement failed, sqlstate = hy000 file /var/lib/firebird/2.5/data/tadata.fdb not valid database
if try connect via safescan software using syntax provided ( serverip:/var/lib/firebird/2.5/data/tadata.fdb ), program gives me error messeage:
the settings of provided database couldn't opened (error: file /var/lib/firebird/2.5/data/tadata.fdb not valid database connection authorization failure. gds code: 335544323 error code: 3 )
the credentials provided seem set correctly, can use them create , connect other database, such sample one. make sure password set correctly, used
gsec> modify sysdba -pw masterkey
with root privileges.
what should connect database on raspberry?
edit: "show version" command gives following info: on raspbian (with test.fdb connected):
isql version: li-v2.5.2.26540 firebird 2.5 server version: firebird/linux arm (access method), version "li-v2.5.2.26540 firebird 2.5" firebird/linux arm (remote server), version "li-v2.5.2.26540 firebird 2.5/tcp (raspberrypi)/p12" firebird/linux arm (remote interface), version "li-v2.5.2.26540 firebird 2.5/tcp (raspberrypi)/p12" on disk structure version 11.2
and on windows version (with tadata.fdb connected):
isql version: wi-v2.5.4.26856 firebird 2.5 server version: firebird/x86/windows nt (access method), version "wi-v2.5.4.26856 firebird 2.5" firebird/x86/windows nt (remote server), version "wi-v2.5.4.26856 firebird 2.5/xnet (win7pc)/p12" firebird/x86/windows nt (remote interface), version "wi-v2.5.4.26856 firebird 2.5/xnet (win7pc)/p12" on disk sturcture version 10.1
you need backup in transportable format gbak on windows machine , restore on raspberry pi machine, have different cpus (x86 vs arm) , on-disk structure differs.
see "firebird backup & restore utility" manual details on using gbak.
Comments
Post a Comment