oxdb should try to catch possible exception when nothing is set in config.inc.php file and it doesn't get any useful connection data.