Skip to content

About

Interactive sql database like terminal.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

InteractiveSQL

InteractiveSQL is an interactive terminal-based SQL management tool.

Requirements

  • Node.js
  • A MySQL database

Installation

Install the package dependencies:

npm install

Usage

Start the interactive CLI:

npm start

The program asks for:

  • SQL host
  • SQL username
  • Password
  • Database name

After a successful connection, the prompt uses the format:

host@database ->

The prompt continues until the exit command is entered.

Commands

Command Description
exit Exit the program
opentable Open a table in the connected database
exittable Exit the currently opened table
listtable List all tables in the connected database
listcolumn List all column in the opened table
insert Insert data to table
help Show the command list

When a table is open, the prompt changes to:

host@database/table ->

Contribute

You can contribute to this repo with fork and make pull request.

License

Free to use, modify, and all you want to do.

MIT License

About

Interactive sql database like terminal.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages