The MySQL/MySQLi driver wouldn't reconnect if the database server closed the connection right before running a query
Handle missing SHOW database privileges when getting the create command of MySQL database entities.