How to mount circuit boards?

Oracle:
That also gives me the idea of gluing a bolt into the holes, if that glue breaks, the bolt will have nowhere to go. Maybe a nut directly on the other side of the pcb from the bolt head?

Why not a solder pad on board and solder the bolt-head to the board.