Let scripts know about database connection errors