MySQL command line Login

Source: Internet
Author: User
Tags mysql command line
MySQL command line login environment: MySQL Sever 5.1 + MySQL command line tool problem: MySQL command line login Resolution: Command line Login Syntax: mysql–u username [–h hostname or IP address]–p password Description: User name is the user you logged in, host name   Or the IP address is optional, if the local connection is not required, the remote connection needs to fill in, the password is the corresponding user's password. Note: www.2cto.com 1. This command is executed under Windows Command Line window, not mysql command line; 2. After entering-p can follow the password directly, you can also press ENTER, you will be prompted to enter the password, both are the same effect; 3. The –p password option is not necessarily to be at the end; 4.   No spaces after –u,-H,-P. Example: [SQL]--local connection mysql–uroot-p--Remote connection Mysql–uwgb–hxxx.xxx.xxx.xxx–p

MySQL command line Login

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.