View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022510 | mantisbt | installation | public | 2017-03-10 16:21 | 2017-03-12 19:23 |
Reporter | gtomlin | Assigned To | dregad | ||
Priority | urgent | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.2.0 | ||||
Target Version | 2.2.1 | Fixed in Version | 2.2.1 | ||
Summary | 0022510: Attempting to connect to database as admin BAD despite valid userid and password | ||||
Description | I am trying to install an unaltered copy of 2.2.0 so I can have a look at it before doing an upgrade from my current Mantis installation. OS: Win 10 Pro 32 bit, version 1607.
I unzipped the distribution to a directory in htdocs, then opened the admin/install.php page. For simplicity, I used the MySQL root userid/password as the Username (for Database) and Password (for Database). I specified the same values in the Admin Username and Admin Password fields. I clicked Install/Upgrade Database, and all results under Checking Database were good, except: After clicking Install/Upgrade Database, the page shows 8 dots for the Password (for Database) field but only 6 dots for Admin Password. I verified that I could use the same admin userid/password to create a database using either mysqladmin or phpMyAdmin. I tried the same test as above with 2.1.0, and the install completed without problem. I've attached a copy of the install page after clicking Install/Upgrade Database. I don't know whether this might be what the reporter of 0022481 was encountering. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
This problem report /may/ be invalid. I just checked the 2.0 Admin Guide, contained in the download package, and I see that my software levels are below the minimum. The Admin Guide available from http://www.mantisbt.org/documentation.php is still the 1.3 version. I'll upgrade XAMPP and retry, then update here whether it resolved the problem. |
|
For the record, I just fixed that a few minutes ago (see #22511) as another user pointed me to this discrepancy. |
|
Thanks dregad! |
|
Upgraded XAMPP to 5.6.30, which contains:
Repeated the same installation test and got the same results: Repeated the same installation test with 2.1.0, and install was successful. |
|
I can reproduce the problem on my Dev box. Git bisect traces the problem to MantisBT master 42718557 so this is a regression introduced by 0022400 |
|
PR https://github.com/mantisbt/mantisbt/pull/1049/files @vboctor, considering the criticality of this issue (which basically blocking new installs), I would appreciate if you could review & test the code for inclusion in the 2.2.1 release. |
|
@dregad, thanks for fixing, this is the regression I mentioned at 0022468:0056034. |
|
MantisBT: master-2.2 92f07eb6 2017-03-11 23:00 Committer: GitHub Details Diff |
Install: fix db connection as admin check (#1049) Commit 42718557933d1e58fc134ef3bea7db97aeb00c65 (issue 0022400) introduced a regression in the installer, causing the 'Attempting to connect to database as admin' check to fail for new installations, even though the Admin user ID and password are correct. Fixes 0022510 |
Affected Issues 0022400, 0022510 |
|
mod - admin/install.php | Diff File |