1 installation of MySQL

Source: Internet
Author: User

Win10

In short, the previous steps are: 1 download and install; 2 Configure environment variables after installation; 3: Login Database

1: Installation

MySQL has installed version and direct decompression can be used, it is said that the great God is installed directly decompression, but in view of their own small white, the entire installation version. As for the specific steps of self-reference Niang bar.

2: Configure environment variables (refer to the following three images)

The environment variable is configured so that MySQL can be manipulated directly in the DOS window

Right click on this computer select Properties (right here in file management) and in the popup page select Advanced system settings, and in the popup page select environment variable, edit the popup page under System variables, and select New in the popup page, Copy the contents of the MySQL installation file into ()

3 login MySQL

A: First look at MySQL boot no

Win+r: Enter Services.msc, click Enter, Pop up, double click into MySQL57 (different version, estimated difference) Click to start

Below we can see in the Task Manager Mysql.exe whether or not to start, the following is OK

3: Login Database

A: Open the DOS window

Win+r, then enter CMD carriage return. The Open Black window is the disk operating system (DOS)

B: Login Database

Enter the Mysql-u root-p in the Black window to enter, will prompt for a password, enter the password you set when installing MySQL (password with the * number shown), will be displayed as, the login success

C:mysql-u Root-p's understanding

-U (user abbreviation) the root behind the user name, the installation is not set by itself is the system default root

-p (password Password) Point Enter, you can input the password

1 installation of MySQL

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.