View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016263 | mantisbt | db mssql | public | 2013-08-13 17:45 | 2015-03-15 19:58 |
Reporter | mwang | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | SQL Server 2008 R2 | OS | Windows Server 2008 R2 | OS Version | SP 1 |
Product Version | 1.2.15 | ||||
Target Version | 1.3.0-beta.2 | Fixed in Version | 1.3.0-beta.2 | ||
Summary | 0016263: Login Failures Post Installation | ||||
Description | The following errors are appearing after attempting to log into Mantis using the default administrator account credentials: Database query failed. Error received from database was 0008115: Upon closer inspection of the mantis_tokens_table, the table is empty on installation. | ||||
Steps To Reproduce |
| ||||
Additional Information | On installation, there was an error that was unresolved. I do not know if the details are related to this bug in particular, however, the error that is produced is for Schema DropColumnSQL. ALTER TABLE mantis_tokens_table DROP CONSTRAINT | ||||
Tags | No tags attached. | ||||
I don't have access to a mssql environment for testing, but if you got errors during install, then the schema is most likely not completely setup, which can explain the fact that MantisBT can't delete from the tokens table. You can confirm this by checking the schema version (check in mantis_config_table for config_id = 'database_version', should be 183) There are known issues with the ADOdb library's mssqlnative driver which can explain the problem; these are planned to be fixed in MantisBT 1.3. Until then as a workaround I suggest you generate the SQL and manually install the DB. |
|
Marking as Suspended MSSQL support is currently known broken. We are going to be replacing the DB Layer in Mantis to fix this properly after the next release. I'd strongly advise using MYSQL for now. The new DB layer already contains the appropriate fixes for MS SQL Support. |
|
MSSQL support is currently known broken. We are going to be replacing the DB Layer in Mantis to fix this properly after the next release. I'd strongly advise using MYSQL for now. The new DB layer already contains the appropriate fixes for MS SQL Support. |
|
MantisBT currently supports Mysql and has support for other database engines. The support for other databases is known to be problematic. Having implemented the current database layer into Mantis 10 years ago, I'm currently working on replacing the current layer. If you are interested in using Mantis with non-mysql databases - for example, Oracle, PGSQL or MSSQL, and would be willing to help out testing the new database layer, please drop me an email at paul@mantisforge.org In the meantime, I'd advise running Mantis with Mysql Only to avoid issues. Thanks |
|
Despite the fact that I am not actually able to test whether the problem is truly resolved since I don't have access to a MSSQL server setup, I'm marking this issue as fixed in 1.3.x on the grounds that the recent updates in ADOdb (which contain many improvements in the MSSQL driver) are likely to address it. Should the problem persist (using a nightly build or a version > 1.3.0-beta.1), feel free to reopen this issue or to create a new one. |
|