Correctly parse mysql2:// URLs

Helps with Cloud Foundry when a DATABASE_URL is set with the 'mysql2' scheme