[imp] Help with Mysql Setup for IMP

Irlanda Delgado Irlanda.Delgado@mific.gob.ni
Thu, 15 Nov 2001 14:49:10 -0600


Hello,

This morning  I was the same problem,  with a friend reconfigure all the
software and with right options and directories to libraries and then we
could connect to the database, look the localhost and the configuration,
php.ini in /usr/local/lib.

To look test.php -> chmod r+a  horde/test.php3 and then you can see if you
configuration is ok, remember change after chmod r-a horde/test.php3.

Regards,

Irlanda

----- Original Message -----
From: "Wilder Hernan Tafur" <wilder@insitel.com>
To: <imp@lists.horde.org>
Sent: Thursday, November 15, 2001 2:30 PM
Subject: [imp] Help with Mysql Setup for IMP


> Hi, i am trying to install IMP with Mysql...
>
> hi have setup the files local.in mysql.inc..  defaults.php3, etc..
>
> when i write in this files host: localhost   user: hordemgr  password:
****
> show thios message:
>
> Warning: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (13) in /var/www/phplib/db_mysql.inc on line
73
>
> And whe i change the data for:  host: myhostname  user: hordemgr password:
> **** show:
>
> Warning: Access denied for user: 'hordemgr@myhostname' (Using password:
YES)
> in /var/www/phplib/db_mysql.inc on line 73
>
> i have Mysql Daemon runnig... and i can login in the horde database with
the
> user: hordemgr passwd: ***
> using:  mysql -u hordemgr -p horde...
>
> The test.php3  page show this:
>
> thanks in advance for any suggetion..
>
>
> Wilder
>
> View phpinfo() screen
> Horde Versions
> Horde: 1.2.7
> IMP: 2.2.7
> PHP Version
> PHP Version: 4.0.3pl1
> PHP Major Version: 4
> PHP Minor Version: 3pl1
> PHP Version Classification: release
> You are running a supported release of PHP4. Enjoy the ride!
> PHP Module Capabilities
> IMAP Support: Yes
> LDAP Support: Yes
> MySQL Support: Yes
> PostgreSQL Support: Yes
> PHPLIB Configuration
> track_vars: Yes
> PHPLIB (is page_open() defined): Yes
> I am now going to try to create a HordeSession class. If this line is the
> last thing that you see, then you do not have class HordeSession defined
in
> the phplib local.inc file. Fix that before proceeding.
> Created a HordeSession instance successfully.
> Click here to test PHPLIB for Horde (If this link results in "Document
> Contains No Data" or "Fatal error...", then you probably have not defined
> the HordeSession class in the PHPLIB local.inc file).
> Miscellaneous PHP Settings
> register_globals set to On: Yes
> magic_quotes_gpc set to Off: Yes
> magic_quotes_runtime set to Off: Yes
>
>
>
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>