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
The conversion between time, string and timestamp...
With the development of Internet technology, user...
Input subsystem framework The linux input subsyst...
1. Install and use Docer CE This article takes Ce...
Container is another core concept of Docker. Simp...
Harbor Harbor is an open source solution for buil...
The reason is simple: In HTML documents, multiple ...
Countdown function needs to be implemented in man...
(?i) means do not match case. Replace all uppercas...
1. What is HTML markup language? HTML is a markup...
As shown below: update table1 as z left join tabl...
The following error occurs when entering Chinese ...
This status code provides information about the s...
Table of contents 1. Structural instructions Modu...
query_cache_limit query_cache_limit specifies the...