FAQ  •  Register  •  Login

accessing serviio db (derby) from remote

<<

mbil74

Serviio newbie

Posts: 14

Joined: Fri May 11, 2012 2:21 pm

Post Sat May 12, 2012 8:27 am

accessing serviio db (derby) from remote

Hi.
I would like to enable network connection to derby db running on serviio (I would like to start a jdbc connection from another pc).
Can this be done? How? Is there a tutorial available?

regards.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat May 12, 2012 3:39 pm

Re: accessing serviio db (derby) from remote

I dont think it's possible as it's enbedded DB and doesn't run derby server. You'd have to access is locally only (by pointing the jdbc driver at the library folder)
<<

mbil74

Serviio newbie

Posts: 14

Joined: Fri May 11, 2012 2:21 pm

Post Sun May 13, 2012 7:53 am

Re: accessing serviio db (derby) from remote

:(
ok... waiting for serviio to support mySQL, then... ;)

regards :)
<<

jabrown0604

Serviio lover

Posts: 88

Joined: Sun Jan 22, 2012 8:25 pm

Location: Illinois

Post Wed May 16, 2012 9:08 pm

Re: accessing serviio db (derby) from remote

Could you map a network drive to the location of the db and the access it locally from the remote client?

We do this all the time at work for access databases.
“Those who have succeeded at anything and don’t mention luck are kidding themselves.”
Server-Mac Mini / OS-WHS 2011 SP1 / TV/HTS-Sharp Aquos/Samsung HT-C6600
<<

KrisDech

Serviio newbie

Posts: 15

Joined: Sun Dec 02, 2012 11:16 pm

Post Wed Dec 05, 2012 12:22 pm

Re: accessing serviio db (derby) from remote

http://db.apache.org/derby/docs/dev/getstart/ has a tutorial how to set up a server for a derby db

  Code:
C:\Program Files\Serviio\library>java -jar %DERBY_HOME%\lib\derbyrun.jar server start


You can then acces the DB from e.g. the associated ij client using:
  Code:
ij> CONNECT 'jdbc:derby://localhost:1527/db';


However this is only possble while Serviio Service is not running. While Serviio is running the database can not be mounted/changed from another program. Depending on your use case you might consider to copy the db to a sepeare folder and work on copied image.

Return to General discussion

Who is online

Users browsing this forum: No registered users and 42 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.