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)
Table of contents Preface 1. MySQL main storage e...
Table of contents Overview 1. Download via URL 2....
Table of contents About G2 Chart use Complete cod...
background There is a Tencent Linux cloud host, o...
MongoDB is cross-platform and can be installed on...
Preface If we want to achieve the effect of onlin...
Some fault code tables use the following design p...
Table of contents premise TypeScript vs JavaScrip...
1. Basic steps 1: Install yarn add vue-i18n Creat...
This article shares with you how to connect pytho...
Copy code The code is as follows: <html> &l...
Table of contents 1. What is an index? 2. Why do ...
tar backup system sudo tar cvpzf backup.tgz --exc...
The HTML code for intercepting text beyond multipl...
I found an example when I was looking for a way t...