Regarding the issue of MySQL remote connection, we often encounter MySQL database stored on someone's computer when working in the company. If we want to connect to the MySQL service, the computer with the MySQL service installed must enable remote connection The first step is to connect to your database using DOS (I am talking about Win here) Then select the system library, mysql Command: use mysql , of course you can also see which libraries have been created in your mysql Then select mysql Then execute the command to modify permissions: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; This is a very crucial sentence. After execution, clear the cache ok basically Don't worry, you can check it out. Now the database in mysql on your machine can be accessed by others if it is in the local area network. 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:
|
<<: Detailed explanation of FTP environment configuration solution (vsftpd)
>>: How to quickly build a static website on Alibaba Cloud
Method 1: Use the SET PASSWORD command First log ...
Demand background: Insert GIF dynamic images into...
After the green version of mysql5.6 is decompress...
Sometimes we may need to run some commands on a r...
The command line mysqld –skip-grant-tables cannot...
jQuery realizes the effect of theater seat select...
Table of contents Early creation method Factory P...
Table of contents Configuration parsing Service C...
Table of contents Mistake 1: Too many columns of ...
1. Background of Parallel Replication First of al...
1. Question: I have been doing insert operations ...
The previous article introduced how Vue can reali...
Preface This article mainly introduces the releva...
In the previous blog, we talked about using Nginx...
I recently encountered a problem at work. There i...