Forum
Accessing different database engines
Database
8 may 2016, 16:48
Hi.
(Briefly. A little tired with all the "classical" heavy tools for web/cms/..., it was nice to find hiawatha/banshee.)
I saw, in the on-line doc, that one can access data with any database engine.
But I did not find where/how to change the parameters (except of course in the php code, I presume).
The default is mysql. I'd like to use sqlite, later postgres.
Some info, tip ?
Best regards.
(Briefly. A little tired with all the "classical" heavy tools for web/cms/..., it was nice to find hiawatha/banshee.)
I saw, in the on-line doc, that one can access data with any database engine.
But I did not find where/how to change the parameters (except of course in the php code, I presume).
The default is mysql. I'd like to use sqlite, later postgres.
Some info, tip ?
Best regards.
Hugo Leisink
8 may 2016, 20:11
A few years ago, I found a way (probably some conversion script I ripped from the internet) to convert the MySQL script to PostgreSQL and SQLite. I don't remember which scripts I used back than, but a bit of searching the internet will probably do.
Changing which database type Banshee uses can be changed in public/index.php at line 24.
Changing which database type Banshee uses can be changed in public/index.php at line 24.
Maurice Nicole
8 may 2016, 21:05
Thanks a lot, Hugo !
The facts show I'm not enough in "php" :-) I assume.
Despite being and "old Unix guy", I always avoided to go deeply in "php", more generally in the web stuff, that I do not like very much.
But as you know, for the Web, a day or another, you have to ...
And one reason to go, maybe it's your software.
I find it "clean", more minimalistic, than (for example) tools like "Drupal" (I use it, but so many scripts, so big !..).
And I always want to control the "low level" ("C", IP ...).
So, thanks again for your tools. For your quick answer.
And maybe some day I can help too.
(I plan to replace Drupal with Banshee. I yet use only Hiawatha).
Best regards.
Message preview