The correct logon description of the MySQL database server

Source: Internet
Author: User

This article describes how to log on to the MySQL database server correctly. We all know that the correct logon to the MySQL database server often occurs in practical applications, therefore, optimization is also highly concerned.

To log on to MySQL (the best combination with PHP), switch to the bin directory of MySQL (the best combination with PHP) under dos and perform the following operations:

Syntax format: MySQL (the best combination with PHP)-h host_name-u user_name-p password local-h and host_name can save)

My Experience:

C: program filesMySQL (the best combination with PHP) MySQL (the best combination with PHP) server 4.1bin> MySQL (the best combination with PHP)-u root-p

Enter password :******

First Enter the user name and password login requirements plus-p), press Enter, and then "Enter password:" appears, then Enter the password and press Enter, so that you can

Log on to MySQL (the best combination with PHP). Otherwise, the logon fails.

After successful login, the following information is displayed:

Welcome to the MySQL (the best combination with PHP) monitor. Commands end with; or g.

Your MySQL (best combination with PHP) connection id is 1 to server version: 4.1.10-nt

Type 'help; 'or 'H' for help. Type 'C' to clear the buffer.

MySQL (the best combination with PHP)>

Mark "MySQL (the best combination with PHP)>". When you see this on the leftmost top of the window, this is to tell you, you can enter a command to perform the operation.

MySQL (best combination with PHP)> s view version information

MySQL (the best combination with PHP)> q or MySQL (the best combination with PHP)> quit exit MySQL (the best combination with PHP) Database Server

MySQL (the best combination with PHP)> h or MySQL (the best combination with PHP)> help to view commands related to other database servers)

The above content is an introduction to MySQL Database Server login. I hope you will get some benefits.

The above content describes the logon to the MySQL database server, hoping to help you in this regard.

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.