Hah, you think HN would use something mainstream like mysql?! I don't blame you.
But HN is 100% custom software, and built with it's own programming language as well, Arc (on Racket). AFAIK, HN still runs on files-as-a-db. You could check out the source here: http://arclanguage.org/install