Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.2-rc
-
None
Description
Looks like createDatabaseIfNotExist parameter, which was doing something like CREATE DATABASE IF NOT EXISTS, was dropped in v3.
While it shouldn't be used in prod, it comes in handy for tests. And workaround is a bit awkward - one needs to connect to a URL without schema (to avoid failure on USE) and execute CREATE DATABASE IF NOT EXISTS, then reconnect with schema in URL (to avoid executing USE manually).
It's also supported by Oracle MySQL driver and it would be nice if MariaDB one would be a drop-in replacement for it (what was the case with v2, and I must admit a great replacement!).
I wonder was it done on purpose, or it's just a missing feature at the moment?