[imp] IMP + MySQL

doug moore lordscarlet@idledreams.net
Tue, 6 Feb 2001 12:36:13 -0500


as you may have guessed, i just tried it without connections and it worked.
so the problem is somewhere in the connections/my connection settings:

$conf['connections']['track'] = true;
$conf['connections']['driver'] = 'sql';
$conf['connections']['params'] = array();
$conf['connections']['params']['phptype'] = 'mysql';
$conf['connections']['params']['hostspec'] = 'localhost';
$conf['connections']['params']['username'] = '****';
$conf['connections']['params']['password'] = '****';
$conf['connections']['params']['database'] = 'horde';
$conf['connections']['params']['table'] = 'connections';


the phptype/hostspec/username/password/database are identical to the
perferences..

and this is a fresh database:

mysql> describe connections;
+---------+-------------+------+-----+---------+-------+
| Field   | Type        | Null | Key | Default | Extra |
+---------+-------------+------+-----+---------+-------+
| addr    | varchar(8)  |      | PRI |         |       |
| conn_id | varchar(32) |      | PRI |         |       |
| conn_ts | int(14)     |      |     | 0       |       |
+---------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)

mysql> select * from connections;
Empty set (0.00 sec)

doug.

-----Original Message-----
From: Chuck Hagenbuch [mailto:chuck@horde.org]
Sent: Tuesday, February 06, 2001 12:26 PM
To: imp@lists.horde.org
Subject: Re: [imp] IMP + MySQL


Quoting doug moore <lordscarlet@idledreams.net>:

> Ok.. my IMP-cvs works great with the default settings.  I had lots of
> trouble getting it to even display with Mysql setup for preferences and
> connection tracking..  Now that I can get a login prompt finally I can't
> login.  I get an invalid username/password setting, but if i remove the
> mysql settings it works fine.

Have you tried preferences and connection tracking seperately? Have you made
sure that the preferences database is empty (there are some sticky issues
still
around with pre-existing prefs)?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me

--
IMP mailing list: http://horde.org/imp/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org