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
Create a table CREATE TABLE `map` ( `id` int(11) ...
This article mainly introduces how to add floatin...
introduction As computing needs continue to grow,...
Table of contents Preface 1. Prepare new partitio...
Preface This article mainly introduces the cross-...
Table of contents FileReader reads local files or...
Table of contents 1. Background 2. Prerequisites ...
1. First remotely connect to the server 2. Open S...
Note: The nginx version must be 1.9 or above. Whe...
Table of contents Is real-time update required? M...
Preface In front-end programming, we often use th...
Knowing which for loop or iterator is right for o...
Table of contents What is insert buffer? What are...
When using Dreamweaver or FrontPage to create HTM...
This article example shares the specific code of ...