Getting Database Info

There are probably at least three ways to do that.

  1. Inspect the main binary to determine version.
  2. Inspect DB logs, usually there is version info in them.
  3. Run a SQL to query version and output that to a file. Then scoop up the output in an analysis.