[odb-users] dynamic multidatabase mysql
Boris Kolpackov
boris at codesynthesis.com
Thu Nov 10 03:52:06 EST 2016
Hi Wolfgang,
Wolfgang Haupt <haupt.wolfgang at gmail.com> writes:
> I know my question is rather vogue, but I'm experimenting with sqlite and
> mysql support and I can't get mysql to work.
> It seems to connect to the db but fails immediately with:
>
> terminate called after throwing an instance of 'odb::unknown_schema'
> what(): unknown database schema ''
If this works for SQLite but not for MySQL then it most likely due to
missing "--schema-format embedded". For SQLite this is the default but
for MySQL by default the database schema is generated as a standalone
.sql file.
Boris
More information about the odb-users
mailing list