smbtaquery should have a ping function to check that the configuration to the database is correct. This enables a better check for the websmbta connect-configuration.
I think this bug shall make us rethink about the whole "error-checking" story between smbtaquery and webSMBTA.
I do think this is related to bug#8206
Bejamin, how would you like to see smbtaquery reporting an error?
-t --test-db does a dry-run , only connects to the db and reports the result. online help updated, docs updated in master, and assigning to Benjamin for further development of webSMBTA
Benjamin, is this works in websmbta, please resolve the bug
Added check for correct database configuration to websmbta with commit 2c58e740a10bf734edf5d6377bf13864630c6493 Author: Benjamin Brunner <bbrunner@suse.de> Date: Wed Sep 7 17:49:45 2011 +0200 [websmbta]Added check for correct db configuration Added link to db configuration