Get lates code

https://github.com/halturin/gsql/archive/master.zip

There is able to download from Launchpad PPA.

$ sudo add-apt-repository ppa:halturin/gsql
$ sudo apt-get update
$ sudo apt-get install gsql gsql-postgresql-engine gsql-mysql-engine

Hot code

Here's step-by-step instructions for how to check out and build GSQL from Subversion. Before you begin, make sure you have libtool, gettext, automake, and autoconf installed.

step 1 (check out):

Run the following command in a directory that you have write access to (such as your home directory):

 $ git clone https://github.com/halturin/gsql.git
You should see it listing all the source files.

step 2 (build):

 $ cd gsql
 $ ./autogen.sh
If you see any errors here, you haven't installed everything you need. autogen.sh will also run ./configure for you once it's created, if it's created successfully. If you see any errors related to GLib or GTK, you haven't installed the devel packages.
 $ make
 $ make install
GSQL dependencies

GTK+ version >=2.12
GtkSourceView version>=2.2
libnotify version >=0.4