21

Before, I have used phpmyadmin to manage an MySQL database, but now I would like to manage a PostgreSQL database. The PostgreSQL database is on a server, but not a webserver, so I don't use PHP.

Are there any good and free tools for managing a PostgreSQL database?

I have tried with pgAdmin III but it was a far from intuitive application to use, compared to phpmyadmin that I have used before. What are PostgreSQL DBAs usually using? do they use graphical tools like pgAdmin III or is it mostly command line tools?

Jonas
  • 32,975
  • 27
  • 61
  • 64

6 Answers6

21

pgAdmin and psql, those are the tools I use. A PHP-script isn't very usefull for database management, too slow and many problems with transactions: What to do when something goes wrong? Commit or rollback? This makes tools like phpmyadmin and phpPgAdmin pretty useless, when the script is done, the database connection will be closed. There is nothing to commit or rollback, your SQL script is already gone.

Learn SQL and any tool that can keep it's databases connections open, will do the job.

Frank Heikens
  • 23,428
  • 1
  • 28
  • 19
6

There is Navicat for PostgreSQL and other database platforms.

It has a free lite and a commercial version.

jkj
  • 816
  • 1
  • 6
  • 8
5

Coming from Microsoft SQL Server, I really like http://www.sqlmanager.net/products/postgresql/manager/ for managing PostgreSQL.

The free version has most everything you would need to get started.

Hannah Vernon
  • 70,041
  • 22
  • 171
  • 315
MvcCmsJon
  • 221
  • 3
  • 3
5

Check out JackDB, it's a database client entirely in your web browser.

There's no software to install locally so you can use it on Mac OS X, Linux, and Windows and it works on all major modern browsers (eg. Chrome, Firefox, IE, Safari, and Opera). It supports connecting to PostgreSQL, as well as MySQL, Oracle, and SQL Server databases.

At the moment (July 13') it's more of a full featured query editor but it also includes GUI-based management features for things like changing runtime config parameters or vacuuming tables.

Regarding your comment in another answer above about SQL history (linked to a removed question), JackDB includes a full history of all SQL commands both per connection (searchable locally) and across all connections/datasources (searchable globally).

Full disclosure: I'm the founder of JackDB.

sehrope
  • 968
  • 6
  • 9
  • 1
    And how do I use this against a local database running on my desktop or on a local server? –  Jul 18 '13 at 21:27
  • At the moment you can't with the cloud version without opening up remote ports from your local machine. We're looking into couple of ways to simplify that (http://progrium.com/localtunnel/ looks cool though it's http only) but for now it works best with cloud databases that are already network accessible (ex: Heroku Postgres, Amazon RDS, etc). – sehrope Jul 18 '13 at 22:31
4

Well, there is phpPgAdmin, if that suits you.

Peter Eisentraut
  • 10,383
  • 1
  • 33
  • 34
  • That sounds good. But at the moment I don't have a webserver and I'm not running PHP. Is there any similar GUI tools? It would also be helpful if it was possible to log in to a remote database via SSH. – Jonas Feb 17 '11 at 08:48
3

I like dbVisualizer, it has a free version that unfortunately is missing some features, you'll have to see if it has enough for you.

also check out stackoverflow for more choices:

newenglander
  • 1,055
  • 5
  • 13
  • 23