[horde] Using multiple Horde databases

Tom Smith tom at openadventures.org
Thu Jan 23 21:52:30 PST 2003


Here you go. Note that the comments were removed to reduce size...

-----
<?php
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['session_name'] = 'Horde';
$conf['use_ssl'] = 2;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['tmpdir'] = null;
$conf['auth']['driver'] = 'imap';
$conf['auth']['params']['dsn'] = '{openadventures.org:143/imap}';
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'file';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['priority'] = LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'openadventures.org';
$conf['prefs']['params']['username'] = '*********';
$conf['prefs']['params']['password'] = '*********';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
$conf['cache']['driver'] = 'none';
$conf['cache']['params'] = array();
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['params'] = array();
$conf['problems']['enabled'] = true;
$conf['problems']['email'] = 'tom at openadventures.org';
$conf['user']['online_help'] = true;
$conf['css']['cached'] = true;
$conf['menu']['images'] = true;
$conf['menu']['floating_bar'] = false;
-----

Thanks for the help!

Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Tom Smith <tom at openadventures.org>:
> 
> > So, I tried using a database name other than "horde" and got many
> > errors--even though the horde/conf/horde.php listed the "other" database.
> 
> > The error I get at login is:
> > 
> > -----
> > A fatal error has occurred:
> > DB Error: no database selected
> > [line 102 of /httpd/openadventures/public_html/horde/lib/Prefs/sql.php]
> > Details have been logged for the administrator.
> 
> This should work fine; the database name isn't hardcoded *anywhere* that I
> know of. Can you show us what's in your conf file?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck at horde.org>
> must ... find ... acorns ... *thud*
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 



More information about the horde mailing list