View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026454 | mantisbt | upgrade | public | 2019-12-10 04:23 | 2019-12-23 01:50 |
Reporter | system | Assigned To | dregad | ||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | 2.23.0 | ||||
Summary | 0026454: No change in DB names post upgrade | ||||
Description | Hi, I have tried upgrading my mantisbt to 2.23.0 from 2.22.1 version and I have a doubt to get it confirm regarding this. I have observed that there are structural changes in database in new version which should reflect in an upgraded installation. i.e In new version (2.23.0) all the database tables are ending with "_mantis" names however in the previous version (2.22.1) all the tables were ending with "_table" When I see database structural changes in my upgraded installation, I found that these are not reflecting post upgrade. i.e post upgrading to new version the database tables remains "****_table" only. However the upgraded installation works perfectly fine. I just wanted to confirm is this left purposely or any modifications are required ? | ||||
Steps To Reproduce |
| ||||
Additional Information | PHP 5.5 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
You need to provide the table prefix / suffix settings upon first installation; defaults are "mantis_" and "_table" respectively. These are then saved in your config_inc.php file, and should not be requested again when performing an upgrade. This begs the question of how you actually executed the upgrade - it looks like you're performing a new installation instead of an upgrade, and maybe swapped the prefix/suffix. |
|
Hi Dregad, Thank you for the help. In the previous installation only $g_db_table_prefix setting was there and no $g_db_table_suffix and $g_db_table_plugin_prefix. As it is not asking during upgrade process to set these values in config.inc.php file will it make any difference if upgraded installation has tables ending with "_mantis" and there is no entry of it in config file ? |
|
It makes no difference, as long as the suffix defined in your config, matches the actual tables in your database. The MantisBT upgrade process will not change these settings, therefore I still think there is something wrong with your system, most likely you did not perform the upgrade as described in the Admin Guide. |
|
Hi, I think there is some confusion with this. I wanted to confirm following
|
|
I have followed all the procedure described in admin upgrade guide. |
|
If you want to change your prefix/suffix, then you need to rename your tables accordingly so that they match. MantisBT cannot do this. As I understand things from your note 0026454:0063238, there is really no problem with the software, just a configuration issue, so I'm closing this as no change required. |
|