View Issue Details

IDProjectCategoryView StatusLast Update
0008259mantisbtinstallationpublic2007-08-12 03:13
Reporterpva Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.0.8 
Summary0008259: mantisbt requires manually create database user
Description

If during installation of mantisbt you follow manual (http://www.mantisbt.org/manual/manual.installation.php)
and enter all the required field in mantisbt/admin/install.php form and just press Install/Upgrade button, you'll receive the error:

Attempting to connect to database as user POSSIBLE PROBLEM
Database user doesn't have access to the database ( Access denied for user 'asdf'@'localhost' (using password: YES) )

The problem is that I've entered nonexistent database username in the field "Username (for Database)" of install form. If I open mysql client and create this user for database by myself, then everything works. But the the question is why should I provide root username and password in install form as I can give user for mysql all required permitions (to create database and tables)? The latter is even more secure IMO.

So possible solutions as I see them are:

  1. Fix mantisdb so it creates database user by itself.
  2. Fix mantisdb not to require root database password and add additional information into manual.

BTW. This question is not only mine (see SeanBDurkin note in http://www.mantisbt.org/forums/viewtopic.php?t=3345)

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2007-08-12 03:13 pva New Issue