Please review the Anaplan Connect documentation, it walks through setting up a simple integration with databases via JDBC connection. This must be a on-prem database that has a JDBC driver. This option does not currently support writing back to a database, but can be achieved through additional scripting. For a solution that does support bi-directional integrations, please explore our other integration options (Boomi, Informatica, Mulesoft, Snaplogic).
Jesse Wilson Solution Architect - Data Integrations Singapore