View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006014 | mantisbt | administration | public | 2005-07-26 08:14 | 2011-10-31 07:12 |
Reporter | xbromy2 | Assigned To | thraxisp | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.0.0rc1 | ||||
Summary | 0006014: 0.19.2 Update Database MySQL doesn't work | ||||
Description | I've unpacked the 1.0.0rc1 made a copy of my 0.19.2 database and configured the database in config_inc.php. Now i opend the new mantis in browser and got to admin/install.php there i set the user / pass / database and click on the Install / Upgrade Button. -> Then there is this error: BAD | ||||
Tags | No tags attached. | ||||
For pre-1.0.0 installations, you need to use the "admin/upgrade.php" process as indicated on the login page. The use of "install.php" only works starting with new installations. |
|
the upgrade.php redirects me to the install.php ... |
|
this is the line for the redirect: |
|
I confirm this. With our 0.19.2 installation, upgrade.php simply redirects to install.php, which does not work since it tries to create already existing tables. Please also check issue 0006340, which seems to be a duplicate of this one. |
|
Had this database ever been used with any of the alphas or rcs before? This would account for the redirection to the install page. |
|
I believe that this (the redirection to install.php for an existing database) was resolved in rc2. Can you verify this? |
|
This is still happening in the final 1.0.0 release. Upgrading from version 0.19.1 Tried running the UPGRADE.PHP script, but it just redirects me to the INSTALL.PHP where I get the same error. Anybody have a solution?? A script to update the database? |
|
Just to clarify my situation: I am moving to a new ISP, so I installed Mantis v1.0.0 on the new server. I exported the database from the old server (v0.19.1) and imported it to the new server. I changed the config PHP file on the new server. Ran the install.php and get the "BAD CREATE TABLE mantis_bug_file_table" error. Re-imported the old database into the new database b/c I didn't know if part of the update has taken place or not. Ran the upgrade.php, which brought me back to the install.php, but ran it again anyway and got the same error. Surely someone must have a solution for this?? |
|
Once you run install.php, you can't go back... I'd try the following: |
|
That did it. I figured since my old database SQL had DROP statements it wasn't necessary. I dropped all tables in my database, reimported the old database, and ran the upgrade.php and that worked. I'm back in business. I will gladly pay the $10 bounty thraxisp if you tell me how to go about it. |
|
Original problem resolved in ~ 1.0.0rc3. User upgraded manually. |
|