Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Server & client together
Fri, Feb 22 2013 10:34 AMPermanent Link

Mirco Malagoli

Hi,
I'm trying to build an application that uses the local DB internally and exposes the DB server through the engine set as etServer at the same time.
Is it safe?
that some hidden risk?
There is an easy way to not add the db and users every time the program starts (returning error because already there)?

DBISAM 4

thanks to all
Mirco
Fri, Feb 22 2013 11:32 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Mirco

>I'm trying to build an application that uses the local DB internally and exposes the DB server through the engine set as etServer at the same time.
>Is it safe?

Perfectly safe. The server application is simply another application accessing the data.

>that some hidden risk?

None.

>There is an easy way to not add the db and users every time the program starts (returning error because already there)?

I'm not sure what you're asking here.

Roy Lambert [Team Elevate]
Sat, Feb 23 2013 11:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mirco,

<< There is an easy way to not add the db and users every time the program
starts (returning error because already there)? >>

Sure, just use the methods listed here (under Local Administration) at
server startup:

http://www.elevatesoft.com/manual?action=viewtopic&id=dbisam4&product=delphi&version=7&topic=Server_Administration

For example, you would use GetServerDatabaseNames:

http://www.elevatesoft.com/manual?action=viewmethod&id=dbisam4&product=delphi&version=7&comp=TDBISAMEngine&method=GetServerDatabaseNames

to get a list of database names that are defined already.  If the list is
empty, or your database isn't defined, then you would use this method:

http://www.elevatesoft.com/manual?action=viewmethod&id=dbisam4&product=delphi&version=7&comp=TDBISAMEngine&method=AddServerDatabase

to do so.

The same goes for the users, procedures, etc.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Image