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
Tip: The following operations are all performed u...
Preface Note: The test database version is MySQL ...
Recently, an error occurred while starting MySQL....
Abstract: This article mainly explains how to ins...
Preface In the previous article Detailed Explanat...
1. Analytical thinking 1. Eliminate the machine&#...
Table of contents What is Express middleware? Req...
1. Introduction When you encounter a requirement ...
1.mysql-5.7.19-winx64.zip (this is the free insta...
This article introduces the method of implementin...
CenOS6.7 installs MySQL8.0.22 (recommended collec...
Table of contents Preface 1. Preparation - Server...
Download foreign images using Alibaba Cloud Image...
1. Download the CentOS image 1.1 Download website...
Recently, our small team needs to share a shared ...