i've been working on a database management tui called rainfrog (https://github.com/achristmascarl/rainfrog). it supports postgres, mysql, and sqlite, and we recently added several new features such as:
- favorites tab for frequently used queries
- exporting query results to csv
- configuring database connections in the config
feature requests and bug reports are appreciated!