[Yazlist] Database connection

Adam Dickmeiss adam at indexdata.dk
Mon Nov 1 18:21:03 CET 2004


eduardo.domanski at pucpr.br wrote:
> Hi everyone,
> 
> So, I'll explain clearly what's my problem, so you can see if you can help
> me or not.
> 
> 1- I've downloaded YAZ 2.0.23 and then I ran the SERVER and the CLIENT.
> I connected to the server, by:
> 
> open localhost:9999/myBase
> 
> 2- After this, I tryed to search on my database, by typing:
> 
> f @attr 1=4 delphi
> 
> 3 - the following message was launched:
> 
> Sent searchRequest.
> Received SearchResponse.
> Search was a bloomin' failure.
> Number of hits: 0, setno 2
> records returned: 0
> Diagnostic message(s) from database:
>     [109] Database unavailable -- v2 addinfo 'pergamarc'
> 
> 4- Adam Dickmeiss said to me that I have to write the code, that connect
> to my database, rigth?? Unfortunately, I'm not familiar with C/C++. Does
> anyone have an example of a simple database connection in C/C++?
If you don't know C/C++ it is rather difficult to use YAZ. The only 
application that YAZ includes which _may_ be usable for programmers 
unfamiliar with C/C++ is yaz-client.

So it's the wrong tool for the wrong job. Or the wrong person, depending 
on how you put it:-)

> 
/ Adam

> 5- In addition, my database is relational, so, Do I need to use zSQLgate?
> 
> Best regards,
> 
> Eduardo Domanski
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlist at indexdata.dk
> http://www.indexdata.dk/mailman/listinfo/yazlist
> 






More information about the Yazlist mailing list