Problem when upgrading, database error with no error message

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
milutino
Posts: 4
Joined: 29 Sep 2009, 21:43

Problem when upgrading, database error with no error message

Post by milutino »

(Mantis Upgrade 1.1.8 -> 1.2.4, apache 2.2x, php 5.3.4, mysql 5.4)

I am trying to do two things at once. I am attempting to move my mantis server from one server to another, and upgrade to 1.2.4 in the process. I have mysql/php/apache set up, the database replicated, etc.

When I attempt to run the install.php script though, I get the following failure on the step "Attempting to connect to database as admin":
Does administrative user have access to the database? ( )
I've searched a ton for this error, but I've never seen it without an actual error message before. Does anyone have any insight on what might be going wrong?

Mantis can definitely connect to the database. When I attempt to login, I get an unknown column query failure.
mhonmon23
Posts: 76
Joined: 22 Sep 2010, 10:43

Re: Problem when upgrading, database error with no error mes

Post by mhonmon23 »

Does administrative user have access to the database? ( )
You might have no admin access or your access is limited
milutino
Posts: 4
Joined: 29 Sep 2009, 21:43

Re: Problem when upgrading, database error with no error mes

Post by milutino »

For reference, posting the solution to this problem.

I changed the database from mysql to mysqli. Not 100% why this fixed the issue, but it did.
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem when upgrading, database error with no error mes

Post by atrol »

Thanks for coming back and posting your solution.
milutino wrote:Not 100% why this fixed the issue, but it did.
Hard to believe, are you sure that there was not just a typo for username or password?
Or did you use the same config_inc.php whith customized username and password?
I just tested a new installation using PHP 5.3.4 and mySQL 5.5 without any problems.
Maybe there is a special upgrade problem ...
Please use Search before posting and read the Manual
Post Reply