Hi,
I am trying to install mantis (version 1.2.15) locally on my laptop running Ubuntu (12.04). I extracted the tar.gz file to /var/www (the so-called local web server), then renamed the directory to 'mantis'. Then in the web browser, I entered http://localhost/mantis, which is correctly redirecting to http://localhost/mantis/admin/install.php, but it is asking me for a user name and password. I entered the following combinations:
administrator, root
root, {empty}
Neither works. Then I created a database using phpMyAdmin named 'bugtracker', and added an user 'mroot' with password 'mroot', and gave this account full privileges. I updated mantis's config_inc.php with this information, and tried again. This doesn't work either. What should be the password I enter here to proceed with the mantis installation?
Thanks for the response. I am afraid that doesn't work either. But how would mantis know that there's a user named mroot, if it is not added to config_inc.php or any other place?
mroot is the database user you created.
This database user is needed for the installation process to create the MantisBT database tables.
The user you entered will be added to config_inc.php by the installation process.
This database user will be used for the MantisBT web application to store the MantisBT data in database.
administrator with password root is the first MantisBT user which is created by the installation process.
You will use this user for your first login to MantisBT.
database users and MantisBT users are complete different things.
Please use Search before posting and read the Manual
atrol wrote:mroot is the database user you created.
This database user is needed for the installation process to create the MantisBT database tables.
No, 'bugtracker' is the database I created, mroot is a user.
atrol wrote:
administrator with password root is the first MantisBT user which is created by the installation process.
You will use this user for your first login to MantisBT.
This is exactly the problem. I made a clean installation of mantis from the tar.gz, and without making any other change, I tried logging in with (administrator, root) combination, but it keeps asking me for the password and doesn't log me in to mantisBT.
atrol wrote: this is what I wrote, maybe the bold database confused you.
Right, sorry about that.
apxy wrote:The screenshot does not show any MantisBT dialog. This is a dialog of your web server.
Okay, where do I look for help to figure out why the web server is not accepting the password? The "web server" is locally on my laptop, and this dialog box is preventing me from getting to mantis installation. Not sure what password it is asking for.
I already tried that. Gone through the first 4 pages of Google search, tried everything, none of which worked. I am able to access other web pages on localhost without any trouble, but the problem seems to be only occuring with mantis, so I thought it has something to do with mantis.
I set up a complete fresh Ubuntu 12.04.
installed apache2, myqsl, php5, php-mysql
downloaded and unpacked MantisBT to /var/www/mantis
chmod 777 mantis
run localhost:/mantis
entered the password for user root of mysql on MantisBT installation dialog (I did only enter the first user for convenience as this user will be taken also to create the database if the second user is not entered)
click the button to run the installation.
got no errors
click the link to create first project
entered user administrator password root on login screen of MantisBT
create my first project
...
No problems at all.
Please use Search before posting and read the Manual