MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax Highlighting
In this post we will give you information about MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax Highlighting. Hear we will give you detail about MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax HighlightingAnd how to use it also give you demo for it if it is necessary.
If you prefer to work with MySQL via its command-line interface, you’ll like mycli which is a CLI tool with auto-completion and syntax highlighting built on top of Python and prompt_toolkit for building interactive command line applications with Python.
It is cross-platform and it is tested on Linux, MacOS and Windows.
According to the official website:
mycli is a command line interface for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.
Prerequisites
- Python 2.7 or Python 3.4+.
How to Install MyCLI?
Supposed you have Python and pip installed, open a new terminal and run the following command:
$ pip install mycli
Check out the official website for instructions on how to install MyCLI on the other platforms.
You can check the source code of this tool on GitHub.
Hope this code and post will helped you for implement MyCLI: A MySQL CLI Based on Python with Auto-completion and Syntax Highlighting. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs