              (case (config/config-kw :mb-db-type)
                :h2       {:type     :h2
                           :db       @db-file}
+               :mysql    {:type     :mysql
+                          :host     (config/config-str :mb-db-host)
+                          :port     (config/config-int :mb-db-port)
+                          :dbname   (config/config-str :mb-db-dbname)
+                          :user     (config/config-str :mb-db-user)
+                          :password (config/config-str :mb-db-pass)}
                :postgres {:type     :postgres
                           :host     (config/config-str :mb-db-host)
                           :port     (config/config-int :mb-db-port)

           (case (:type details)
             :h2       (kdb/h2 (assoc details :naming {:keys   s/lower-case
                                                       :fields s/upper-case}))
             :postgres (kdb/postgres (assoc details :db (:dbname details)))))))



                  (models/pre-insert entity)
                  (models/internal-pre-insert entity))
        {:keys [id]} (-> (k/insert entity (k/values vals))
                         ;; this takes database specific keys returned from a jdbc insert and maps them to :id
                         (set/rename-keys {(keyword "scope_identity()") :id
                                           :generated_key               :id}))]
    (models/post-insert entity (entity id))))


