Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

sekimura (3756)

  (email not shown publicly)

Journal of sekimura (3756)

Friday April 13, 2007
12:07 PM

a simple SQL client

[ #32985 ]

now I'm writing a simple SQL client that can connect multiple database servers. for some reasons I need to connect to MySQL and PostgreSQL.

using "screen" and "mysql + psql" works but sometimes I wanna share a term history on each SQL clients.

so, I'm doing it. Term::Shell and Text::ASCIITable rock.

TODO: handle '*', '%' and more SQL special chars.

UPDATE found DBI::Shell but it can't handle multiple DBI connections.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I like to run all of my ad-hoc SQL from within Vim. [] It's crude, but it does what I want it to do. It has to log in on every request, so I usually add stuff to automatically configure user/password for various database names.