Mh2sql: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "{{Pagelinks}} = Purpose = {{Utility|name=mh2sql}} imports history files into an SQL database in the same way as if they were written into the database by [...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
Line 1: Line 1:
{{Pagelinks}}
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/reference/reference/programs/#mh2sql mh2sql] on the Programs and options page for the new documentation about the mh2sql program.
 
= Purpose =
{{Utility|name=mh2sql}} imports [[History System|history files]] into an SQL database in the same way as if they were written into the database by [[mlogger]].
 
= Usage =
mh2sql [-h] [switches...] file1.hst file2.hst ...
 
;Switches:
  -h                        --- print this help message
  --report-repaired-tags    --- print messages about all repaired empty and duplicate tag names
  --hs-debug <hs_debug_flag> --- set the history debug flag
  --odbc <ODBC_DSN>          --- write to ODBC (SQL) history using given ODBC DSN
  --sqlite <path>            --- write to SQLITE database at the given path
  --mysql <connect string>  --- write to MYSQL database
  --file <path>              --- write to FILE database at the given path
 
= Example =
  mh2sql --hs-debug 1 --sqlite . 130813.hst
 
[[Category:Utilities]] [[Category:History]]

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. See mh2sql on the Programs and options page for the new documentation about the mh2sql program.