Mysql-mysql 8.0.11 Installation Tutorial

Source: Internet
Author: User

    • Environment preparation

Mysql-8.0.11-winx64.zip:https://cdn.mysql.com//downloads/mysql-8.0/mysql-8.0.11-winx64.zip

Installation environment: Windows7.

    • Extract

Unzip the Mysql-8.0.11-winx64.zip installation package to any directory (for example: C:\java)

Decompression process

Post-decompression effect

    • Installation

# Start a doc (Command prompt)

# start

# go to MySQL unzip directory

CD C:\Java\mysql-8.0.11-winx64

# Add MySQL service to the list of services in Windows

Bin\mysqld Install

# effect

# initialization

Bin\mysqld--initialize

# After executing the MySQL installation directory will have a more data directory

    • Connection test

# start the MySQL server side

#连接

Bin\mysql-u root-p

# Password in the new data directory under the extension. err file, each time the password is not fixed

# Copy the password to the doc command, after the successful installation of the interface

    • Reset Password

#必须重置密码 (the password is determined by yourself, as mine is: 123456)

ALTER USER ' root ' @ ' localhost ' identified with Mysql_native_password by ' 123456 ';

    • Re-Login

Test the new password OK

Here, mysql8.0.11 installation is complete. I wish you all the best work!

Mysql-mysql 8.0.11 Installation Tutorial

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.