View Issue Details

IDProjectCategoryView StatusLast Update
0006059mantisbtdocumentationpublic2005-09-11 08:12
Reporterdtgriscom Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc1 
Fixed in Version1.0.0rc2 
Summary0006059: MySQL 4.1.1 or later by default uses long passwords which don't work with php4
Description

I'm installing Mantis on a system running MySQL 4.1.11 and PHP 4.3.9. I kept getting errors on the initial connection to the database, and spent a couple of hours trying to figure out what was wrong (it didn't help that the username documentation was vague). I finally found that MySQL was using new passwords, and PHP 4 can't handle them: changing to old passwords in MySQL fixed it.

Your documentation should mention this as a possibility. admin/install.php should also put up a warning if the connection fails and the MySQL/PHP versions are vulnerable to this.

TagsNo tags attached.

Activities

thraxisp

thraxisp

2005-08-01 20:36

reporter   ~0011045

I think that this is actually a mismatch between the mysql client library compiled into php and the database itself.

A check and warning has been added in admin/install.php
admin/install.php -> 1.19