Home  >  Article  >  Database  >  Detailed installation instructions for the decompressed version of MySQL 5.7.19

Detailed installation instructions for the decompressed version of MySQL 5.7.19

黄舟
黄舟Original
2017-08-11 14:20:461905browse

This article mainly introduces the latest version of MySQL5.7.19 decompressed version installation guide. Friends who need it can refer to

MySQL version: MySQL Community Edition (GPL) ------ MySQL Community Server ( GPL)

Download file: mysql-5.7.19-winx64.zip

After the download is completed, unzip,

1 Configure environment variables Add mysql/bin to PATH

2 Use cmd tool or powershell Pay attention to administrator rights

Run mysqld -install Show that the service installation is successful

Run mysqld -- initialize --console Initialize Mysql and remember the initial password

3 Start the mysql service Runnet start mysql

4 Log in with the initial password mysql -uroot -p

5 Change password and update permissions


alter user 'root'@'localhost' identified by 'passwd';
use mysql; 
flush privileges;

6 Close database

Summarize

The above is the detailed content of Detailed installation instructions for the decompressed version of MySQL 5.7.19. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn