extract database info from jdbc connection string