In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)SQLite installation method?
Pages: [1]   Go Down
  Print  
Author Topic: SQLite installation method?  (Read 763 times) Bookmark and Share
Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: cod4
Posts: 2
Offline Offline
« on: September 07, 2011, 11:06:46 AM »

I noticed with 1.7.1 sqlite was added as an experimental option.
Where can I find more information on how to use this with Windows?
I will provide feedback and bug reports.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: September 07, 2011, 11:39:39 AM »

with sqlite, you can either have persistent or non-persistent database.

non persitent database will be erased and fresh new every time you start B3. This is great for test and trying out B3. To use that, just set the database part of your b3.xml as follow :

Code:
<set name="database">sqlite://:memory:</set>

If you want persistent database, then the database will be saved on a file on your hard drive. Let say you want to save the database file in the same folder as your b3.xml, under the name b3_database.sqlite, then use the following snippet :
Code:
<set name="database">sqlite://@conf/b3_database.sqlite</set>

Note that plugins requiring you to create new tables on the database won't work with sqlite (unless you translate their sql script to the sqlite syntax)

any feedback is appreciated. We'd like to know if you have instability issues, if it reacts well when your server is full, or if you lost your data at some point.
« Last Edit: September 07, 2011, 11:41:40 AM by Courgette » Logged

Newbie
*
OS: --No B3 installed--
Type: --No B3 installed--
Gameservers: cod4
Posts: 2
Offline Offline
« Reply #2 on: September 07, 2011, 12:37:34 PM »

Amazing work, thank you.
I will start testing this out now.
Logged
Tags: sqlite 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal