Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An easily extensible DBI shell, perfect for a drop-in replacement to mysql-client
PLpgSQL Perl Prolog Perl6
Latest commit 889470a @hoelzro hoelzro Merge pull request #44 from openstrike/kwalitee
Improvements in kwalitee



App::AltSQL - A drop in replacement to the MySQL prompt with a pluggable Perl interface


  ./altsql -h <host> -u <username> -D <database> -p<password>

  altsql> select * from film limit 4;
  │ film_id │ title            │ description                
  │       1 │ ACADEMY DINOSAUR │ A Epic Drama of a Feminist 
  │       2 │ ACE GOLDFINGER   │ A Astounding Epistle of a D
  │       3 │ ADAPTATION HOLES │ A Astounding Reflection of 
  │       4 │ AFFAIR PREJUDICE │ A Fanciful Documentary of a
  4 rows in set (0.00 sec)


AltSQL is a way to improve your user experience with mysql, sqlite3, psql and other tools that Perl has DBI drivers for. Currently written for MySQL only, the long term goal of this project is to provide users of the various SQL-based databases with a familiar command line interface but with modern improvements such as color, unicode box tables, and tweaks to the user interface that are fast and easy to prototype and experiment with.


It's best to use CPAN or cpanm to install this application. Should be as simple as:

  $ sudo cpanm App::AltSQL


Copyright (c) 2012 Eric Waters and Shutterstock Images ( All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


Eric Waters <>

Something went wrong with that request. Please try again.