Subject | Re: [Firebird-Java] org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544653. cannot attach to password database |
---|---|
Author | Mark Rotteveel |
Post date | 2012-08-21T08:06:53Z |
On Tue, 21 Aug 2012 09:52:42 +0200, Marthyn Mayerhofer <martin@...>
wrote:
get embedded working is not ideal. I will put this on my todo list to
investigate what is necessary to get embedded running on Linux without
having to depend on a server-install.
Also be aware that in Firebird you can assign rights to a specific user or
role, if that is done and you use the database under embedded you do need
to specify a username (and I assume for Linux also the correct password).
Mark
wrote:
> Hi Mark,I
>
> after some trial and error I got it working on my dev box, here is what
> did for future reference:DriverManager.getConnection()
>
> 1. installed firebird-2.5 classic server:
>
>> apt-get install firebird2.5-classic
>
> 2. removed the username and password from the
> callGood to hear you got it working, but depending on the server-install to
get embedded working is not ideal. I will put this on my todo list to
investigate what is necessary to get embedded running on Linux without
having to depend on a server-install.
Also be aware that in Firebird you can assign rights to a specific user or
role, if that is done and you use the database under embedded you do need
to specify a username (and I assume for Linux also the correct password).
>> Connection bd = DriverManagerYou're welcome!
>> .getConnection(
>>
> "jdbc:firebirdsql:embedded:/home/rgba/git/firebird_test/employee.fdb",
>> "" , "");
>
> now I am able to access the employee.fdb test database.
>
> Thanks for pointing me in the right direction!
Mark