Most useful search term for this is "reverse engineer database". Or "generate diagram from SQL" (such as using a database dump to generate a diagram).
The only programs that I found to be working among the ones that I tried are:
Other programs that are mentioned around the Web: