From: Matthew G. <gr...@mu...> - 2005-06-22 14:04:31
|
Several people have reported this problem. I cannot duplicate it here, but I think it may have something to do with mysql 4.1 password crypts. Can you connect to the same mysql DB from the mysql commandline client using the same user/password/host? Have you upgraded mysql to 4.1? On Wed, 2005-06-22 at 10:03 +0200, Bj=C3=B6rn Fisseler wrote: > Hello, >=20 > I downloaded phpESP and tried to install it on my computer for testing=20 > purpose. To install it, I followed the instruction in the install-file.= =20 > But every time I try to start phpESP, I get this error message in my=20 > browser: >=20 > HTTP 503 Service Unavailable > [ Connection to database failed. Please check configuration. ] >=20 > So, I tracked the problem down to these lines in the config file: > // Database connection information > $ESPCONFIG['db_host'] =3D 'localhost'; > $ESPCONFIG['db_user'] =3D 'myuser'; > $ESPCONFIG['db_pass'] =3D 'mypassword'; > $ESPCONFIG['db_name'] =3D 'phpesp'; >=20 > // ADODB > $ESPCONFIG['adodb_path'] =3D ESP_BASE . 'admin/include/lib/adodb/'; > $ESPCONFIG['adodb_database_type'] =3D 'mysql'; > $ESPCONFIG['adodb_dbpersist'] =3D 'true'; > $ESPCONFIG['adodb_pathto_db'] =3D "/var/www/phpESP/scripts/db/esp.dbm"; >=20 > The connection information for MySQL are correct and do work, but I=20 > don't know what to enter for ADODB! >=20 > Just for your complete information: I'm running Apache 1.3, PHP 4.3.10=20 > and MySQL 4.1 . >=20 > Any help and information is appreciated and welcome! >=20 > TIA >=20 > Bjoern >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl= ick > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general >=20 >=20 --=20 mcg ------------------------------------- The IT Lab (http://www.itlab.musc.edu) |