Try to connect to MySQL if it's there.

If MySQL credentials are passed via environment variables, attempt to
connect to the database to demonstrate it.