Extract database settings from $_SERVER['DATABASE_URL']