MySQL 64-bit Windows 7 installation tutorial, mysql5.7windows7
1. Install mysql5.7 in Windows. 2. Possible solutions for mysql5.7 forgetting the root password
Go to the MySQL official website or other websites to DOWNLOAD the MySQL installation package, and select the Windows 64-bit installation package on the official website DOWNLOAD. Generally, the compressed installation package is used.
After the download is complete, decompress the installation package to the installation path, for example, D: \ Program Files \ mysql. You can also select another path to decompress the package;
After decompression, enter the decompressed folder, create a blank txt text, enter the basedir installation path and datadir file path, and name it my. init (note that the txt format suffix must also be changed) and save
After completing step 3, Enter cmd in system-run (run with management permission) and convert the path to the MySQL installation path.
Enter the installation path, enter the command mysqld-install, and display service successfully installed.
After installation, enter net start mysql to start the service. If it is displayed that the service cannot be started, restart the computer and try again.
To start MySQL at startup, add the mysql installation PATH to the system environment variable PATH.