The party that creates a new connection is equivalent to the client, and the one being connected is equivalent to the server. The steps are as follows: 1. Create a subaccount and type the following authorization commands in the Navicat query interface and execute them in sequence: GRANT ALL PRIVILEGES ON test.* to 'root333'@"%" IDENTIFIED by 'abc111' WITH GRANT OPTION; FLUSH PRIVILEGES;
2. Create a new MySQL connection (1) Connection name: choose your own Host: Enter the server host address you want to connect to Port: Default is 3306 The "Connection successful" pop-up message indicates that the connection is successful. Now we can operate the database on the corresponding server. 3. To delete sub-user permissions, type DELETE FROM mysql.`user` where User='username' AND Host='IP'; Username: The subaccount name set during authorization This is the end of this article about how to use Navicat Premium to remotely connect to a MySQL database. For more information about how to use Navicat Premium to remotely connect to a MySQL database, please search for previous articles on 123WORDPRESS.COM or continue browsing the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Six inheritance methods in JS and their advantages and disadvantages
>>: Table Tag (table) In-depth
Effect The effect is as follows Implementation ...
Causes and consequences 1. When using the ansible...
Table of contents 1. Open source warehouse manage...
Preface What is data type conversion? The default...
Table of contents 1. Installation 2. Introducing ...
The purpose of writing scripts is to avoid having...
Ⅰ. Problem description: Use html+css to implement...
Preface: MYSQL should be the most popular WEB bac...
First of all, you need to know some characteristi...
Many tables in MySQL contain columns that can be ...
Table of contents 1. Encapsulation API 2. Registe...
This article shares with you a detailed tutorial ...
Recently, in order to realize the course design, ...
1. Benefits of precompilation We have all used th...
Nginx can use its reverse proxy function to imple...