This article shares the MySQL free installation configuration tutorial for your reference. The specific content is as follows 1. Download the MySQL installation-free version compressed package and decompress it to a custom directory, such as: D:\program0\mysql (the following takes this directory as an example) 2. Modify the my.ini file (maybe my-default.ini, manually modify it to my.ini); basedir =D:\program0\mysql datadir =D:\program0\mysql\data #If you customize this directory, you must move all files in this directory to the new customized directory port = 3306 3. Configure the default encoding for the newly created data path: 4. Add environment variables Create a new variable MYSQL_HOME Click the Edit button 5. Register mysql service: mysqld install mysql #If `Install/Remove of the Service Denied` appears, select "Open as Administrator" when opening the cmd.exe program, and the same when starting the service. 6. Start the mysql service: cmd enter the console net start mysql 7. Close the mysql service: cmd enter the console net stop mysql 8. Configure the root user password: cmd: mysql -uroot mysql< use mysql; mysql< delete from user; mysql< grant all on *.* to root@'%' identified by "root" with grant option; mysql< flush privileges; mysql< quit; 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:
|
<<: How to install and uninstall open-vswitch in Linux
>>: How to configure Basic Auth login authentication in Nginx
There are three main ways of MySQL replication: S...
1. Introduction to Nginx Nginx is a web server th...
Getting Started with Data Volumes In the previous...
The system environment is server2012 1. Download ...
The pitfalls of MySQL read-write separation The m...
Table of contents 1. Introduction to PXC 1.1 Intr...
Table of contents Preface Relationships between v...
What is a stored procedure Simply put, it is a se...
Preface In backend development, in order to preve...
I have installed various images under virtual mac...
There are 4 commonly used methods, as follows: 1....
BEM from QQtabBar First of all, what does BEM mea...
Table of contents 1. Use the a tag to preview or ...
There is no mysql by default in the yum source of...
The json data must be returned in html format That...