Problem with connecting database while updating

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
JohnnyB
Posts: 4
Joined: 17 Jun 2009, 22:30

Problem with connecting database while updating

Post by JohnnyB »

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)
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Problem with connecting database while updating

Post by deboutv »

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
JohnnyB
Posts: 4
Joined: 17 Jun 2009, 22:30

Re: Problem with connecting database while updating

Post by JohnnyB »

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?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Problem with connecting database while updating

Post by deboutv »

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
JohnnyB
Posts: 4
Joined: 17 Jun 2009, 22:30

Re: Problem with connecting database while updating

Post by JohnnyB »

Thanks, the upgrade is completed correctly.
Post Reply