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

Detailed installation instructions for the decompressed version of MySQL 5.7.19

黄舟
Release: 2017-08-11 14:20:46
Original
1993 people have browsed it

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;
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template