[horde] Installing Horde Groupware Webmail Edition 4.0 without asking password

Tommy hkendusers at yahoo.com.hk
Mon Jul 4 17:37:17 UTC 2011


Hi all,

I am trying Horde Groupware Webmail Edition 4.0 installation, until "install
horde/webmail-beta" I am still lucky without big problem, but while I run
webmail-install, it does not ask me for MySQL password so that it failed to
connect MySQL.

Can some one tell me why it does not ask me for MySQL password? Million thanks

##################
PHP 5.2.13
CentOS 5.5
##################
PHP_PEAR_SYSCONF_DIR=/var/www/webmail /usr/local/php/bin/php -d
include_path=/var/www/webmail/pear/php /var/www/webmail/pear/webmail-install

Installing Horde Groupware Webmail Edition

Configuring database settings

What database backend should we use? 
    (false) [None]
    (mysql) MySQL / PDO
    (mysqli) MySQL (mysqli)
    (pgsql) PostgreSQL
    (sqlite) SQLite

Type your choice []: mysql
Request persistent connections? 
    (1) Yes
    (0) No

Type your choice [0]: 0

Username to connect to the database as* [] newhorde
How should we connect to the database? 
    (unix) UNIX Sockets
    (tcp) TCP/IP

Type your choice [unix]: unix

Location of UNIX socket [] /tmp/mysql.sock

Database name to use* [] newhorde

Internally used charset* [utf-8] utf-8
Use SSL to connect to the server? 
    (1) Yes
    (0) No

Type your choice [0]: 0

Certification Authority to use for SSL connections [] 
Split reads to a different server? 
    (false) Disabled
    (true) Enabled

Type your choice [false]: false

Writing main configuration file... done.

Creating database tables...
====================

Fatal Error:
Connect failed: mysql_connect(): Access denied for user 'newhorde'@'localhost'
(using password: NO)

 1. Horde_Core_Bundle->migrateDb() /var/www/webmail/pear/webmail-install:32
 2. Horde_Core_Db_Migration->getMigrator()
/var/www/webmail/pear/php/Horde/Core/Bundle.php:94
 3. Horde_Injector->getInstance()
/var/www/webmail/pear/php/Horde/Core/Db/Migration.php:87
 4. Horde_Injector->createInstance()
/var/www/webmail/pear/php/Horde/Injector.php:248
 5. Horde_Injector_Binder_Factory->create()
/var/www/webmail/pear/php/Horde/Injector.php:213
 6. Horde_Core_Factory_DbBase->create()
/var/www/webmail/pear/php/Horde/Injector/Binder/Factory.php:111
 7. Horde_Core_Factory_Db->create()
/var/www/webmail/pear/php/Horde/Core/Factory/DbBase.php:17
 8. Horde_Core_Factory_Db->createDb()
/var/www/webmail/pear/php/Horde/Core/Factory/Db.php:95
 9. Horde_Db_Adapter_Base->__construct()
/var/www/webmail/pear/php/Horde/Core/Factory/Db.php:158
10. Horde_Db_Adapter_Mysql->connect()
/var/www/webmail/pear/php/Horde/Db/Adapter/Base.php:143

====================
# 



More information about the horde mailing list