MySQL command line client: MYCLI

Source: Internet
Author: User
Tags mysql command line

#安装pip: #CentOS/rhelyum install python-pippip install --upgrade pip#ubuntu:sudo  Apt-get install python-pip python-dev build-essential pip install --upgrade  pipsudo pip install --upgrade virtualenv#pip or easy_install problems are handled according to the results of the command execution, What I'm experiencing here is mostly related to the version issue # installation mycli#linux:pip install mycli#os xbrew install mycli# use: MYCLI  --helpusage: mycli [options] [database]options:  -h, --host text          Host address of the database.   -p, --port text         port number to  use for connection. Honors                            $MYSQL _tcp_ Port  -u, --user&nbSp Text         user name to connect to the  database.  -S, --socket TEXT       The  socket file to use for connection.  -p, --password           Force password prompt.  --pass TEXT              password to connect to  the database  -v, --version            Version of mycli.  -D, --database TEXT      database to use.  -r, --prompt text        prompt format  (default:  "\t \[email protected]\h:\d> ")   -l, - -logfile filename  log every query and its results to a file.  -- help                   Show this message and exit.   #示例: Mycli local_databasemycli -h  localhost -u root app_dbmycli mysql://[email protected]:3306/django_poll#github : MYCLI: HTTPS://GITHUB.COM/DBCLI/MYCLIPGCLI: HTTPS://GITHUB.COM/DBCLI/PGCLI

MySQL command line client: MYCLI

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.