Name

msql

Synopsis

msql [options] database

The mSQL command line monitor. This program is the most basic way to communicate with the mSQL server. SQL commands can be typed directly on the command line and the results are displayed on the screen. Statements can continue over multiple lines. No action is taken until a line ending with a command is entered.

Commands

\e

Edit the previous statement using the default editor.

\g

Submit statement to the database server.

\p

Display the current statement.

\q

Exit the program.

Options

-f file

Use an alternate configuration file.

-h hostname

Connect to the database server on a remote host.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.