mdb-header(1)
π mdb-header β bestie edition π
okay so this is a page from the Executable programs or shell commands section of the manual, and today we're learning about mdb-header. buckle up π
β¨ NAME β¨
mdb-header β write a header file straight outta an MDB database π¦
πΈ SYNOPSIS πΈ
mdb-header [database]
π DESCRIPTION π
mdb-header is a lil utility program that ships with MDB Tools. no cap.
what does it do?? it dumps the names and types of the tables and columns in an MDB database, and it formats the whole thing as a C header. it's giving codegen, it's giving β¨automationβ¨.
and it doesn't just make one file, bestie β it creates three:
types.hdumptypes.cdumptypes.h
periodt π
π§ ENVIRONMENT π§
the vibes here are fully configurable through env vars, and honestly? iconic.
MDB_JET3_CHARSETβ sets the charset of the input JET3 file (that's access 97, iykyk). the default isCP1252. go peepiconv(1)if you wanna know more πMDBICONVβ sets the output charset. default isUTF-8. heads up tho:mdbtoolshas to have been compiled with iconv for this to work π«ΆMDBOPTSβ a colon-separated list of options, and there are a LOT of them:debug_likedebug_writedebug_usagedebug_oledebug_rowdebug_propsdebug_allis a shortcut for all thedebug_*options π₯no_memo(deprecated; has no effect β it literally does nothing, we love a retired queen π)use_index(experimental; requireslibmswstr) π
π EXIT STATUS π
mdb-header exits with error code 1 if there was an unsupported type. (the original page says "anunsupported" β we love a typo moment, but yeah, the meaning is unsupported type, bestie π)
β FUTURE DIRECTIONS β
okay so here's the tea and it's a little sad: mdb-header is deprecated. soon it will no longer be distributed. π
the developers feel like nobody's really using it, because generating C code is now usually replaced by more generic approaches β including libmdb calls and odbc. it's giving "the old ways are fading" fr fr.
BUT. should you find this tool useful?? drop them a line at https://github.com/mdbtools/mdbtools/issues/197 and they'll consider maintaining it. π your voice matters, bestie.
π SEE ALSO π
go read these too, they're all in the same friend group:
mdb-array(1) mdb-count(1) mdb-export(1) mdb-hexdump(1) mdb-import(1) mdb-json(1) mdb-parsecsv(1) mdb-prop(1) mdb-queries(1) mdb-schema(1) mdb-sql(1) mdb-tables(1) mdb-ver(1)
π«Ά AUTHORS π«Ά
the mdb-header utility was written by Brian Bruns. absolute legend, we stan π
π BUGS π
only a few types are currently supported. that's it, that's the bug. lowkey tragic but at least it's honest π
and that's the whole page!! this was MDBTools 1.0.1 from 13 July 2026 β mwah, go write some headers, you got this π
β¨ππ¦
π¦ where this page comes from
- fedora 43: mdbtools 1.0.1-1.fc43 Β· GPL-2.0-or-later
- fedora 44: mdbtools 1.0.1-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms