MySQL Database basics

Source: Internet
Author: User

MySQL Database basics

All the operation of this article is based on the CMD command line operation mode, and can properly refer to the "access to MySQL operation Rights" in the content, this article is to provide a more comprehensive solution for the pre-environmental configuration problem, and this article is a phase (Yao) (Xiang) (HU) into (Ying) The relationship.

First, connection related

1. Start MySQL server: net start MySQL

2. Connect MySQL database: Mysql-uroot-h127.0.0.1-ppassword

3. Disconnect the MySQL database: After connecting to the MySQL server, you can enter exit at the MySQL prompt, or quit; disconnect the MySQL connection.

4. Stop the MySQL server, a total of three basic ways.

Way One:

Way two:

Way three:

MySQL Database basics

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.