$ mycli mysql:// :3306/django_pollįor more usage options, type: $ mycli -helpĭo check out some useful articles for MySQL administration. To login into mysql and select a database at the same time, you may use a similar command as follows. MySQL Output is automatically piped through less command. MySQL Syntax Highlighting Formatted SQL Output MySQL Smart Completion Alias supportĪ column completions will work even when table names are aliased. Table name completions after the ‘FROM’ keyword. Once mycli installed, you can use it like this: $ mycli -u root -h localhostĮasy completions such as keywords and sql-functions. How to Use M圜LI for MySQL and MariaDB in Linux Once pip is installed, you can install mycli as follows: $ sudo pip install mycli Start by installing pip with the commands below: $ sudo yum install pip Likewise, Fedora 22+ has a package available for mycli, you can install it using dnf command as below: $ sudo dnf install mycliįor other Linux distributions such as RHEL/CentOS, you’ll need Python pip tool to install mycli. On Debian/Ubuntu distributions, you can easily install the mycli package using apt command as follows: $ sudo apt-get update How to Install M圜LI for MySQL and MariaDB in Linux
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |