Re: RoundCube - MDB2 Error: not found


To czdebian-l zavinac debian bod cz
From Martin Šín <martin bod sin zavinac zshk bod cz>
Date Wed, 29 Oct 2008 07:02:30 +0100

Zdravím,
na první pohled bych myslel, že jste vytvořil uživatele roundcube s
heslem 'password', ale do databáze se přihlašujete s heslem 'pass'
viz řádek

> Make sure that the configured database exists and that the user has
> write privileges DSN: mysql://roundcube:pass zavinac localhost/roundcubemail

Změnil bych tedy heslo uživatele roundcube na pass nebo upravil
konfigurační soubor.

Martin Š.

On Tue, 28 Oct 2008 18:50:28 +0100 (CET)
Petr Hudeček <pheek zavinac seznam bod cz> wrote:

> Dobry den, pokousim se rozjet RoundCube a dostal jsem se s instalaci
> az po Create config a pokud dam vygenerovat config a continue tak mi
> to napise:
> 
> Check config files
> main.inc.php:  OK
> db.inc.php:  OK
> Check if directories are writable
> 
> RoundCube may need to write/save files into these directories
> temp/:  OK
> logs/:  OK
> Check configured database settings
> DSN (write):  NOT OK(MDB2 Error: not found)
> 
> Make sure that the configured database exists and that the user has
> write privileges DSN: mysql://roundcube:pass zavinac localhost/roundcubemail
> 
> Databeze je mysql a generovala se podel navodu:
> 
> # mysql
> > CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE
> > utf8_general_ci; GRANT ALL PRIVILEGES ON roundcubemail.* TO
> > roundcube zavinac localhost
>     IDENTIFIED BY 'password';
> > quit
> 
> # mysql roundcubemail < SQL/mysql5.initial.sql
> 
> kde jsem nechal heslo password a uzivatel roundcube zavinac localhost, ale
> pokud zadam ten posledni radek
> 
> # mysql roundcubemail < SQL/mysql5.initial.sql
> 
> tak mi to vypise
> 
> # mysql roundcubemail
> < /var/www/apache2-default/SQL/mysql5.initial.sql ERROR 1050 (42S01)
> at line 11: Table 'session' already exists
> 
> pomuze mi prosim nedko, nevim si stim uz rady, asi bude chybne
> vytvorena databaze a nebo nevim co uz, jen doplnim system je Debian
> Etch a prihlasuji se k databazi pomoci
> 
> Database setup
> 
> db_dsnw
> 
>                                             Database settings for
> read/write operations: Database type
>     localhost                        Database server
>     roundcubemail             Database name
>     username zavinac localhost Database user name (needs write permissions)
>     password                      Database password
> ________________________________________________
> CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
> http://www.debian.cz/mailman/listinfo/czdebian-l
> E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz


-- 
$ unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep

Partial thread listing: