db-browser - Read SQLite/MySQL/PostgreSQL databases.
Version 0.002
db-browser
db-browser -h|--help
-h|--help show the config menu (which offers also this help text).
db-browser [-s|--search] [directories to be searched]
If no directories are passed the home directory is searched for SQLite databases.
-s|--search new search of SQLite databases (don't use cached data).
Search and read SQLite/MySQL/PostgreSQL databases.
db-browser expects an "UTF-8" environment
"q" key goes back ("Ctrl-D" instead of "q" if prompted for a string).
Show this Info.
Set the number of spaces between columns.
Set the width the columns should have at least when printed.
Set the string that will be shown on the screen if a table value is undefined.
Set the maximum number of fetched table rows. Can be overwritten by setting the SQL-statement "LIMIT".
Set the progress bar threshold. The threshold refers to the list size (rows x columns).
Choose the needed database types.
Choose the needed operators.
Choose the thousands separator displayed in menus.
With the Sssc mode "compat" enabled back-arrows are offered in the SQL "sub-statement" menus. In the "simple" mode it can be used the "q" key instead of the back-arrows.
To reset a SQL "sub-statement" (e.g WHERE) re-enter into the "sub-statement" and choose '- OK -'.
Set the behavior of different menus.
Set the mouse mode (see "mouse" in Term::Choose).
Set the default value: Lk0 or Lk1.
Lk0: Reset the SQL-statement after each "PrintTable".
Lk1: Reset the SQL-statement only when a table is selected.
If enabled system tables/schemas/databases are appended to the respective list.
If enabled REGEXP will match case sensitive.
With MySQL the sensitive match is achieved be enabling the BINARY operator.
Print "BNRY" instead of arbitrary binary data.
If the data matches the repexp qr/[\x00-\x08\x0B-\x0C\x0E-\x1F]/ it is considered arbitrary binary data.
Printing arbitrary binary data could break the output.
Set Database defaults.
Different Database settings ...
Database defaults can be overwritten for each Database with the "Database settings".
Determine how often db-browser asks for the login data:
-for every connection: log in data is asked for every new database connection.
-once per DB: log in data is asked only once per database.
-only once: log in data is asked only once and then used for all connections.
Matthäus Kiem <cuer2s@gmail.com>
Copyright 2012-2014 Matthäus Kiem.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::DBBrowser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::DBBrowser
CPAN shell
perl -MCPAN -e shell install App::DBBrowser
For more information on module installation, please visit the detailed CPAN module installation guide.