After I backup my Mantis database I've tryed to update mantis from version 1.1.1 to 1.1.8
I've made a new directory and put the new files in this directory. I've kept the old version in the old directory.
then I started the upgrade command in the new directory ..../admin/upgrade.php and get the following text:
"Opening connection to database [bugtracker] on host [localhost] with username [root] failed ( Access denied for user 'root'@'localhost' (using password: NO) )"
But the database name is helpdesk in stead of bugtracker and also the username and password is nog right. Can anyone tell me what I do wrong and give the solution to solve this problem.
Thank, Jan (Netherlands)
Problem with connecting database while updating
Moderators: Developer, Contributor
Re: Problem with connecting database while updating
Have you kept the config_inc.php file or did you restart from scratch?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Re: Problem with connecting database while updating
I didn't copy config_inc.php into the new directory and started the update.php with the new file.
You mean that I need to copy the config_inc.php file from the original directory in the new directory?
You mean that I need to copy the config_inc.php file from the original directory in the new directory?
Re: Problem with connecting database while updating
Yes of course.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Re: Problem with connecting database while updating
Thanks, the upgrade is completed correctly.