Jochen Wiedmann > Msql-Mysql-modules-1.2219 > pmsql   Annotate
this POD   New  2 Open  1 View/Report Bugs   pmsql, pmysql -
interactive shells with readline for msql and mysql   pmsql [-h
host] [database]   pmysql [-h host] [database]   pmsql and
pmysql let you talk to a running msql or mysql daemon sending
either SQL queries or relshow (mysqlshow) commands. The output
is formatted much in the same way as by the msql or mysql
monitor (see below), the msqlexport command and the relshow
(mysqlshow) program, which are coming with msql or mysql. The
additional capability is a connection to a readline interface
(if available) and a pipe to your favorite pager. Additionally
you may switch between hosts and databases within one session
and you don't have to type the nasty \g or ; (a trailing \g, \q,
and \p will be ignored).  If a command starts with one of the
following reserved words, it's treated specially, otherwise it
is passed on verbatim to the mSQL or mysql daemon. Output from
the daemon is piped to your page