Author Topic: sqlite confusion  (Read 3236 times)

Offline rhn

  • Newbie
  • *
  • Posts: 2
sqlite confusion
« on: December 28, 2008, 11:17:07 AM »
I keep getting errors about SQLite in the install script for roundcube 0.2:


DSN (write):  NOT OK(MDB2 Error: not found)

Make sure that the configured database exists and that the user has write privileges
DSN: sqlite://./sqlite.db?mode=0646


My sqlite.db is present in the config/ folder and is writable by the apache user (which is running the server).
I was trying to provide roundcube with the abslute path, move the sqlite.db up a level nd various other possibilities. I couldn't find whether that path is relative to config/ folder or not.

I have sqlite 2.8, my phpinfo() shows this:
SQLite
SQLite support   enabled
PECL Module version    2.0-dev $Id: sqlite.c,v 1.166.2.13.2.11 2008/12/01 12:28:27 felipe Exp $
SQLite Library    2.8.17
SQLite Encoding    UTF-8

Directive   Local Value   Master Value
sqlite.assoc_case   0   0


How to configure that? PostgreSQL or MySQL are an overkill for me.

Thanks in advance.

Offline rhn

  • Newbie
  • *
  • Posts: 2
sqlite confusion
« Reply #1 on: December 28, 2008, 12:14:40 PM »
It turned out that I didn't have the sqlite driver for MDB2 installed, sorry for bothering you guys. Those MDB2 messages should really be less general...