View Issue Details

IDProjectCategoryView StatusLast Update
0012927mantisbtinstallationpublic2014-09-23 18:05
Reporterdrew1291 Assigned Todhx  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformx86_64 GNU/LinuxOSLinuxOS Version2.6.22.18
Product Version1.2.5 
Target Version1.2.6Fixed in Version1.2.6 
Summary0012927: Does not install with MySQL 5
Description

Error message from admin/install.php:

Checking Database Server Version
Running mysql version

BAD
MySQL 4.1.0 or later is required for installation.

Additional Information

On server:

mysqladmin --version
mysqladmin Ver 8.41 Distrib 5.0.51a, for debian-linux-gnu on i486

Server version reported by PHPMyAdmin: 5.0.51a-24+lenny5

TagsNo tags attached.
Attached Files
error.doc (150,016 bytes)

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
has duplicate 0012999 closedatrol Create database problem during installation 

Activities

dhx

dhx

2011-04-11 10:03

reporter   ~0028585

I fixed this a few days ago by removing the check. I've attached the relevant commits to this bug report so you can apply the patch to 1.2.5. The next release should solve this issue.

Thanks for the bug report.

singha

singha

2011-07-07 01:46

reporter   ~0029119

Last edited: 2011-07-07 01:48

Hi dhx,

I have been trying to integrate mantis with Test Link for test management activities. But on every attempt to configure the same, the following error is being generated:
“MySQL 4.1.0 or later is required for installation.”

MySQL version being used is 5.0.7.

Since the next version has yet not been released, the alternate way around to handle the stated issue is to replace the install.php.

On attempting to integrate Mantis with Test Link after replacing the Install.php file, the following error is being displayed:
“Fatal error: Call to undefined function require_api() in C:\xampp\htdocs\mantisbt-1.2.5\admin\install.php on line 35”

Request you to please advise of an alternate way or a proper fix (with the required steps) to resolve the stated issue. It would be highly appriciated if it could be done at the earliest possible.

Thanks,
Arun

atrol

atrol

2011-07-07 02:29

developer   ~0029120

singha, you replaced with wrong version of install.php
The right version for 1.2.5 is the one from master-1.2.x not master

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036426

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 41fddb77

2011-04-07 10:25

dhx


Details Diff
Remove MySQL database version check from install script

The MySQL database version check is no longer working on recent versions
and configurations of MySQL and should therefore be removed. This check
is no longer necessary because MySQL 4 is thoroughly deprecated and
shouldn't be seen in the wild anymore.
Affected Issues
0012927
mod - admin/install.php Diff File

MantisBT: master-1.2.x a4774043

2011-04-07 10:25

dhx


Details Diff
Remove MySQL database version check from install script

The MySQL database version check is no longer working on recent versions
and configurations of MySQL and should therefore be removed. This check
is no longer necessary because MySQL 4 is thoroughly deprecated and
shouldn't be seen in the wild anymore.
Affected Issues
0012927
mod - admin/install.php Diff File