1. Download MySQL Community Server 5.7.16 and install it 2. Go to the bin directory of the MySQL installation directory, enter cmd in the file address bar and press Enter 3. Enter the command: 4. Enter the command: 5. 6.ALTER USER 'root'@'localhost'IDENTIFIEDBY '123456'; 7.\quit 8. Installation Complete Authorize remote login Log in as an administrator Execute command: Refresh takes effect: flush privileges; Command Explanation: all PRIVILEGES means granting all permissions to the specified user. This can also be replaced by granting a specific permission, for example: *.* indicates which table the above permissions apply to. The first * refers to the database, and the following * refers to all tables. For all tables in a certain database, the authorization is "database name.*", and for a certain table in a certain database, the authorization is "database name.table name". zhanghao indicates which user you want to authorize. This user can be an existing user or a non-existent user. Summarize The above is the method that I introduced to you to install the green version of MySQL Community Server 5.7.16 and realize remote login. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Angular framework detailed explanation of view abstract definition
>>: How to use multi-core CPU to speed up your Linux commands (GNU Parallel)
I won’t waste any more time talking nonsense, let...
Download link: Operating Environment CentOS 7.6 i...
<br />Once, Foyin and Mr. Dongpo were chatti...
Part 1 HTML <html> -- start tag <head>...
Overview Backup is the basis of disaster recovery...
In web development, since the checkbox is small an...
When I was writing a project yesterday, I needed ...
The preparation for the final exams in the past h...
Here is a case study on how to close ads using Ja...
So after registering a domain name and purchasing...
Ubuntu 18.04, other versions of Ubuntu question: ...
1. Introduction to Navicat 1. What is Navicat? Na...
Event loop in js Because JavaScript is single-thr...
NProgress is the progress bar that appears at the...
1. Use data from table A to update the content of...