[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Gnu relational database question

Posted By: Christian Anthon
Date: Thursday, 20 December 2007, at 8:35 a.m.

In Response To: Gnu relational database question (Misja)

Hi misja,

for various reasons the database setup isn't automatic. First you need to have a n sql database and a python module installed. If you don't now what you are doing I suggest you install python-sqlite2, that should install sqlite3 as well. Then you need to have a file called database in your .gnubg directory containing three lines:

gnubg*type sqlite gnubg*database /home/anthon/.gnubg/gnubg.db gnubg*games yes

where you substitute the path for something else.

Now with the file gnubg.game.sql in the current directory (should be in your build directory) do run gnubg and do relational -> test. It should now say database test successful or similar.

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.