[imp] imp.sql

Chuck Hagenbuch chuck at horde.org
Thu Mar 6 16:57:19 UTC 2008


Quoting Johan Huldtgren <johan+imp at huldtgren.com>:

> I've attached a simple diff to imp/scripts/sql/imp.sql to fix this.
>
> # diff -u imp.sql imp_fix.sql
> --- imp.sql     2007-12-20 15:00:36.000000000 +0100
> +++ imp_fix.sql 2008-03-06 16:56:39.000000000 +0100
> @@ -15,3 +15,5 @@
>   CREATE INDEX sentmail_ts_idx ON imp_sentmail (sentmail_ts);
>   CREATE INDEX sentmail_who_idx ON imp_sentmail (sentmail_who);
>   CREATE INDEX sentmail_success_idx ON imp_sentmail (sentmail_success);
> +
> +GRANT SELECT, INSERT, UPDATE, DELETE ON imp_sentmail TO horde;

In several databases, notably mysql, that will create a mysql user  
with no password.

-chuck


More information about the imp mailing list