In development mode, open the database-error page again, use View Page Source, and look near the bottom for a hidden HTML comment containing the actual MySQL error. Also, you might get lucky, so check ACP → Logs → Server error log.
Unfortunately, the “An unexpected database error occurred” is...