The exception $e message runs into the die text. Add ". " so this
SQLSTATE[HY000] [1049] Unknown database 'misc'You need to create the database and table for this application:
becomes
SQLSTATE[HY000] [1049] Unknown database 'misc'. You need to create the database and table for this application:
The exception $e message runs into the die text. Add ". " so this SQLSTATE[HY000] [1049] Unknown database 'misc'You need to create the database and table for this application: becomes SQLSTATE[HY000] [1049] Unknown database 'misc'. You need to create the database and table for this application: