[imp] Problem with MySQL integration into IMP
Brent J. Nordquist
bjn@horde.org
Thu, 2 Nov 2000 09:22:56 -0600 (CST)
On Thu, 2 Nov 2000, Parag Godkar <paragg@konark.ncst.ernet.in> wrote:
> I have installed the following rpms as per the instructions given
> in horde-1.2.2-1.Readme found on the download site
Sorry, I just cleaned things up a bit on FTP; horde-1.2.3-1.README is the
one you want for 1.2.3/2.2.3. Also I put the apache-1.3.14 from Red Hat
out there, which you'll want due to security bugs in 1.3.12.
> php-3.0.16-5horde7
> php-imap-3.0.16-5horde7
> php-mysql-3.0.16-5horde7
...and get php-3.0.17-1.6.2horde1 and friends for the same reason
(security). Now:
> Warning: Host 'sharayu.ncst.ernet.in' is not allowed to connect to this
> MySQL server in ./lib/db.mysql on line
> 153
Can I assume from what you wrote that you want the MySQL server and the
Apache/PHP/IMP server to be on the same machine? If so, it's odd that
MySQL thinks you're connecting from "sharayu.ncst.ernet.in" and not
"localhost". Did you change the database host setting in
horde/phplib/local.inc or imp/config/defaults.php3? It should be
"localhost" if you want it to be all the same machine.
(The RPMs set up MySQL to allow connections from user "hordemgr" from host
"localhost".)
> Warning: Oops, php3_SetCookie called after header has been sent in
> ../lib/horde.lib on line 1167
>
> Warning: Cannot add more header information - the header was already sent
...and these are caused by the first error.
--
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942