Page 1 of 1
Wich DBMS?
Posted: 29 Sep 2005, 17:02
by MTW
Hi all
I need to test which database type is used in the application
Is there a config variable or other manner to know if manti is working with MySQL, MSSQL or other DBMS?
thx
Mtw
Posted: 14 Oct 2005, 11:38
by vboctor
Which version of Mantis are you referring to?
Regards,
Victor
Subscribe to Mantis Blog
http://www.futureware.biz/
Posted: 14 Oct 2005, 14:23
by MTW
Hi, I'm using rc2
I had to customize the filter_api with some sql code specific to MySQL and I'd like to test for the database used to enable or disable that feature
thanks,
MTW
Posted: 14 Oct 2005, 14:46
by vboctor
Use the following check:
config_get('db_type') == 'mysql'
if true, then the database is MySQL.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
Posted: 17 Oct 2005, 07:33
by MTW
thank u, I'll apply the chek to my code
MTW