Extract the parsing/creating of database config/connectiong from SQLStore string to a separate DatabaseConfig struct.