This is the installation tutorial of mysql5.7.18.zip that I used before, and I will share it with you first. MySQL official website download address: http://www.mysql.com/downloads/ There will be several versions to choose from in this download interface. 1. MySQL Community Server community version, open source and free, but no official technical support is provided. MySQL Community Server is open source and free, and this is the version of MySQL we usually use. It is divided into multiple versions according to different operating system platforms. Below we take the Windows platform as an example. Select 32-bit/64-bit to start downloading After downloading, select the address to unzip the compressed package. The location I unzipped is: D:\Program Files\mysql-5.7.18-winx64 The most important command: mysqld --initialize-insecure --user=mysql Create a new my.ini configuration file in the folder and edit the content as follows: [mysqld] # Set the installation directory of mysql basedir=D:\Program Files\mysql-5.7.18-winx64 # Set the storage directory of mysql database data datadir=D:\Program Files\mysql-5.7.18-winx64\data Create a new data folder in the directory and clear the folder with data folder Find cmd.exe in C:\Windows\System32 and run it as an administrator. Note that it must be run as an administrator (if you do not run it as an administrator, an error will occur due to insufficient permissions: Install/Remove of the Service Denied!) Enter the bin directory (must be in the bin directory) Execute this statement in the bin directory After completion, directly install mysqld service successfully installed indicates that the installation is successful After installation, you need to enable the service: Enter net start mysql to start the service, and it will show that the service has been started successfully. Type mysql -u root -p to log in. You will be asked to enter a password. If you do not have a password for the first time, just press Enter. So far the login is successful! The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Canvas draws scratch card effect
>>: JS implements a stopwatch timer
<br />Web Design and Production Test Part I ...
[mysql] replace usage (replace part of the conten...
1. Introduction to nmon Nmon (Nigel's Monitor...
Since PostgreSQL is compiled and installed, you n...
Anyone who has a little knowledge of data operati...
Table of contents 1. Create a vue-cli default pro...
Table of contents Overview File Descriptors Synch...
When using the docker-maven-plugin plug-in, Maven...
Format Encoding 1. Please set the page width with...
Docker Compose Docker Compose divides the managed...
Use Nginx to build Tomcat9 cluster and Redis to r...
Table of contents Node connects to Mysql Install ...
Students who make websites often find that some n...
Added anti-crawler policy file: vim /usr/www/serv...
{ {}} Get the value, the original content of the ...