DBeaver is a free and open source (GPL) multi-platform universal database manager and SQL Client. It supports MySQL, PostgreSQL, Oracle, DB2, MSSQL, Sybase, Mimer, HSQLDB, Derby, and any database that has a JDBC driver.
It is a GUI program that allows to view/edit the structure of a database, execute SQL queries and scripts, browse and export table data, handle BLOB/CLOB values, modify database meta objects, and complete many other tasks.