Problem using DB2 Database

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
scalap
Posts: 1
Joined: 11 Feb 2008, 17:06

Problem using DB2 Database

Post by scalap »

I install mantisbt with database driver ibm_db2.
mantis version : 1.1.1 on linux server, php4
db2 version : V9.1 on linux server
The schema and tables are well created. The connection is OK.
When I try to access the login page, I have the following error :

Database query failed. Error received from database was #42818: [IBM][CLI Driver][DB2/LINUX] SQL0401N The data types of the operands for the operation "=" are not compatible. SQLSTATE=42818 SQLCODE=-401 for the query: SELECT *
FROM mantis_user_table
WHERE id='1'

The structure of the mantis_user_table has the field id as integer and not as varchar !
The following request works fine
SELECT * FROM mantis_user_table WHERE id=1

What is the solution ? Change the request in mantis code ? Or change the structure of all tables ?
Who have succeeded install with DB2 database ?

Regards

Pascal
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Problem using DB2 Database

Post by vboctor »

Use http://www.mantis400.com to get support for installing Mantis on DB2.
Migrate your MantisBT to the MantisHub Cloud
judan
Posts: 14
Joined: 14 Jan 2013, 18:26
Location: Georgetown, Guyana
Contact:

Re: Problem using DB2 Database

Post by judan »

Hi scalap. Can you give me instructions on how to install mantisbt over ibm_db2?
~Jailall~
Post Reply