Formulated service.database.php to fix DBprofiler issue