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
1. Command Introduction The ipcs command is used ...
Table of contents 1. Project Environment 2. Proje...
【1】Know the width and height of the centered elem...
Find the problem After upgrading MySQL to MySQL 5...
recommend: Navicat for MySQL 15 Registration and ...
I've been asked a lot lately about an apparen...
Use js to control the light switch for your refer...
download MySQL official download, select Windows ...
When multiple images are introduced into a page, ...
Preface The company's developers used the rep...
Prototype chain inheritance Prototype inheritance...
<br />In text design, we usually focus on th...
Table of contents 1. Common higher-order function...
This article shares the specific code of js to im...
Table of contents 1. Use SVG 2. Use fontAwesome 3...