On Sat, 11 Mar 2006, Matt Henley wrote:
> On 3/11/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Sat, 11 Mar 2006, Matthijs Willemstein wrote:
> >
> > > On Fri, 2006-03-10 at 17:08 -0600, Matt Henley wrote:
> > > > I installed Firebird Classic on my Windows XP machine. In Lazarus, I
> > > > added a TIBConnection to a blank form. I put the full path to an
> > > > example database (C:\Program
> > > > Files\Firebird\Firebird_1_5\examples\EMPLOYEE.FDB) in the Database
> > > > Field of the Object Inspector. I left the host blank as well as
> > > > UserName and Password as I have not set any of these and the Firebird
> > > > docs said they could be left blank. When I try to set the object to
> > > > active, I get a response that "unavailable database".
> > > You should add the hostname (or ip) before the database name. So
> > > something like: 192.168.1.1:C\Program Files\etc
> >
> > You can use 'localhost':
> >
> > localhost:C\Program Files\e
> >
> > should be fine.
> >
> > About the password, forget my previous remark, that was valid only for
> > embedded firebird.
> > for Classic Server or Superserver you allways need a username/password pair.
> >
>
> Can you tell me the difference between the Classic and the embedded?
In classic, there is still a separate server process running.
Your application communicates with the server application to access the
database.
For embedded, the application directly accesses the database file.
> I am trying to use it as an embedded database for a program. Called as
> a library or dll.
That is embedded.
> I do not want a server process running separately.
> I think I need to go find the firebird docs as i did not see anyway to
> set a user or password.
I recommend to run a server process anyway for development purposes,
this allows you to use a lot of tools such as IBadmin or FlameRobin,
IBOConsole or whatever. With embedded, these tools don't work properly.
When deploying, then you can switch to embedded. For the actual code,
there is no difference anway.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives