Home >Database >Mysql Tutorial >Detailed installation instructions for the decompressed version of MySQL 5.7.19
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!