[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Database question
From: |
ace |
Subject: |
Re: [Bug-gnubg] Database question |
Date: |
Wed, 19 Jul 2006 18:20:35 +0200 |
User-agent: |
Mutt/1.5.9i |
* Chris Wilson wrote on 11 Jul 2006:
>
> Where can I find information on how to set up and use the relational database
> functionality in
> GNUBG?
An example using postgresql (here on a linux system, but on MS or
using pgadmin it should be similar).
As user postgres:
#: createuser [name of the user]
As user:
createdb gnubg < gnubg.game.sql (you can find this file in the
source tree)
When importing matches you can take the script db_import.py
(available in the directory "scripts")
Then you're done and can start your queries.
Ciao
Achim
--
If you want to make sure that I'll read your e-mail
please avoid HTML and use a real name. Otherwise I
can't guarantee I'll receive it.
achim mueller, anne-frank-str. 25, D-48431 rheine
+49 (0)5971 83767, +49 (0)163 8458340
-------------------------------------------------
pgp/gnupg key: 1024D/5DF3A722 (wwwkeys.de.pgp.net)
pgpLvLMqyJRez.pgp
Description: PGP signature