I really need a stacktrace instead of a stupid "Error 0: Could not connect to MySQL". I've set debugging to on and error reporting to max. Any idea?
Edit: Temporary solution: Hacking Joomla core.
Edit 2: To be precise, add
echo $this->error; echo $this->renderBacktrace();die;
render() in libraries/joomla/document/error.php
Edit 3: Since the namespace change,
error.php has changed location to here: