WIN10 Manual Installation Mysql-8.0.11-winx64.zip

Source: Internet
Author: User
Tags mysql client mysql delete

1. Go to the official website to download the Mysql-8.0.11-winx64.zip installation package to the specified directory (D:\Program files\mysql)

 

2. New My.ini file in MySQL extract directory

[mysqld]# setting Port 3306=3306# Set up the MySQL installation directory Basedir=D:\Program files\mysql# Database Data storage directory (this data directory must not be created manually, otherwise error) DataDir=D:\Program files\mysql\data# Maximum number of connections allowed Max_connections= $# Number of attempts to allow connection failures. This is to prevent someone from attempting to attack the database system from the host Max_connect_errors=Ten# The default character set used by the server is Utf8character-Set-server=utf8# default storage engine to use when creating a new tabledefault-storage-engine=innodb# default to use "Mysql_native_password" Plugin authentication default_authentication_plugin=mysql_native_password[mysql]# Setting the MySQL client default character setdefault-character-Set=utf8[client]# Set the default port to use when MySQL client connects to service Port port=3306default-character-Set=utf8

2. Open Cmd.exe (C:\Windows\System32\cmd.exe) as Administrator and go to MySQL extract directory (D:\Program files\mysql\bin)

2.1 Uninstall History Service

    mysqld Remove MySQL

SC Delete MySQL

2.2 This step may have a problem, if the historical reasons cause inexplicable installation failure, you can try, the consequences of self-esteem, I did not appear problems

    Go to regedit ctrl+f search MySQL mysql delete all the configuration files that appear to have MySQL

3. Initialize MySQL (D:\Program files\mysql\bin), randomly generate the password, will print to the console, find a place to save ([email protected]: WQ%ASSKSH2CJ without the front space)

    Mysqld--initialize--console

Mysqld-install Service Name (custom, can be used with MYSQL8, MySQL)

net start MySQL

net stop MySQL

WIN10 Manual Installation Mysql-8.0.11-winx64.zip

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.