WINDOWS10 under Installation MySQL8.0

Source: Internet
Author: User

1: First go to the official website to download the installation package

: https://dev.mysql.com/downloads/mysql/

This is my download version

2: Extract the extracted files to your installed directory: E:\mysql-8.0.11-winx64 (I put it in the E-packing directory, do not put in Chinese names and spaces in the directory.)

3: Create a new My.ini file and a data folder under the Mysql-8.0.11-winx64 folder

4: Configure the system environment

Add%mysql_home%\bin in Path

5: Open cmd window as administrator jump path to E:\mysql-8.0.11-winx64\bin

    • Initialize command mysqld--initialize--user=mysql--console

      (Remember to initialize, a lot of people do not initialize, there are 1067 errors, how can not be confused)

      After initialization is complete, a temporary password will be generated here to remember the temporary password (in)

      Then save the directory in your database to generate some files, no tube

    • Then the input mysqld-install to add the service

    • Input net start MySQL start service
    • Enter Mysql-u root-p to log in the database, when prompted to require a password, and then use your password above to log in

    • Modify Password statement: ALTER USER [email protected] identified by ' 123456 '; Change Password to: 123456

WINDOWS10 under Installation MySQL8.0

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.