MantisBT

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009701mantisbtinstallationpublic2008-10-15 21:182008-10-20 19:28
Reporterolegos 
Assigned Tograngeway 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.1.3 
Target VersionFixed in Version 
Summary0009701: Install/upgrade shouldn't need admin user when DB already exists
DescriptionUsing PostgreSQL. I'm installing Mantis on a web server, and I've configured postgres to only allow a single non-admin user to access mantis database from there. I've created the database manually.

Couldn't get through the check "Attempting to connect to database as admin" (error: "Does administrative user have access to the database? ( Unable to Connect )")

So I've replaced the line 292 in install.php with just "$t_result = 1;", and the rest went well.

I don't think installation should insist on having admin access when it's not necessary. A checkbox for "Database already exists" on the installation form would be acceptable, if it's too complicated to figure this out automatically.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0019604)
jreese (administrator)
2008-10-20 11:31

1.1.x has known issues with database schemas for Postgresql; last I knew, Paul was the one dealing with trying to port the fixes from trunk back to 1.1.x.
User avatar (0019611)
olegos (reporter)
2008-10-20 19:28

Trunk behaves the same way.

- Issue History
Date Modified Username Field Change
2008-10-15 21:18 olegos New Issue
2008-10-20 11:31 jreese Note Added: 0019604
2008-10-20 11:31 jreese Assigned To => grangeway
2008-10-20 11:31 jreese Status new => assigned
2008-10-20 19:28 olegos Note Added: 0019611


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0740 seconds.
memory usage: 2,773 KB
Powered by Mantis Bugtracker