dbconfig-load-include(1)
β¨ NAME β¨
dbconfig-load-include β bestie, this is the lil parser that reads your custom-format db config files π
(it lives in the dbconfig-common manual, iykyk)
πΈ SYNOPSIS πΈ
dbconfig-load-include [-hv] [-a] [-d[varname]] [-u[varname]]
[-p[varname]] [-s[varname]] [-P[varname]] [-t[varname]] -f format infile
π¦ DESCRIPTION π¦
okay so. dbconfig-load-include is a program that parses custom format include files β the ones holding all the info you need to connect a program to a database resource. literally the whole glow-up kit π₯
its main character moment is being used by the dbconfig-common package to import database settings from packages that had pre-existing configurations and then migrated over to dbconfig-common. no cap, that's the vibe π«Ά
want more tea? go look at /usr/share/doc/dbconfig-common.
π OPTIONS π
infileβ use the given config file as input. feed it the file, bestie π-f,--formatβ use the given output format. default issh. pick your aesthetic β¨-a,--allβ include all the information in the output. this one is the default, she's already doing the most π-d,--dbnameβ include thedbnamein the output-p,--dbpassβ include thedbpassin the output-s,--dbserverβ include thedbserverin the output-P,--dbportβ include thedbportin the output-u,--dbuserβ include thedbuserin the output-t,--dbtypeβ include thedbtypein the output-h,--helpβ display this helpful message π₯°-v,--versionβ output the version and exit π
π so what even IS a format π
format is one of a list of include-file style formats for various programming languages. the current list includes:
shβ/bin/shstyle include file πperlβ perl parseable include file πͺphpβ php parseable include file πexecβ run the file as a script and interpret its output πβοΈ
fr fr, that's the entire list as it stands right now β don't go inventing new ones in your head π
sean finney wrote this one back in March 2005, and it ships as part of dbconfig-common β so yeah, shoutout to the original author, that's history bestie πΈβ¨π
π¦ where this page comes from
- debian bookworm: dbconfig-common 2.0.24 Β· GPL-2.0-or-later
- debian trixie: dbconfig-common 2.0.25 Β· GPL-2.0-or-later
- ubuntu jammy: dbconfig-common 2.0.21 Β· GPL-2.0-or-later
- ubuntu noble: dbconfig-common 2.0.24 Β· GPL-2.0-or-later
- ubuntu resolute: dbconfig-common 2.0.25ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: dbconfig-common 2.0.26ubuntu3 Β· 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