Introduction to Navicat and download and installation tutorial

Navicat is a widely used database management tool that can be used to manage a variety of database systems, such as MySQL, MariaDB, Oracle , etc. It provides a rich set of features that make managing databases easier and more efficient. Installing Navicat is very simple, just download the installation package and follow the wizard. After the installation is complete, you can use Navicat to easily connect to the database, execute SQL statements, import and export data, etc. In this article, we will introduce the installation tutorial and usage of Navicat in detail , hoping to help you learn and use Navicat.

Navicat usage tutorial directory

1. Connection and use

2. Import backup
3. Query data
4. Modify user information
5. Other operations

6. Download address

1. Connection and use

1.1 Connect to database

Open navicat, click Connect , select the database

Insert image description here

The following interface pops up (taking MySQL as an example), familiarize yourself with the functions of each part. Insert image description here  
Test whether you can connect. If there is the following prompt, click OK to start using the database.

Insert image description here  
Double-click or right-click to open the connection. The icon lights up to indicate that the connection has been opened.

Insert image description here

1.2 Operation database

Right-click the connection and click New Database

Insert image description here

Enter the database name and encoding rules

Insert image description here

Double-click or right-click to open the database (the gray icon lights up to indicate open)

Insert image description here

2. Import backup

Open the database, right-click and select Run SQL file to back up the database file.

Insert image description here

Select file to import

Insert image description here

The import is successful as follows

Insert image description here

Close the database and reopen it . You can see the table you just imported (compared to the picture above, the table item is originally empty and there is no arrow on the left)

Insert image description here

3. Query data

inquiry mode:

  1. Directly click on the corresponding table to query data.
  2. Use sql statement to query.

Double-click or right-click to open the table to view the data

Insert image description here

(The following is a demonstration query using sql statement )

Click ① or ② , then click New Query  
Insert image description here

Enter sql statement

Insert image description here  
Please see another article for MySQL statements: Commonly used statements in MySQL

4. Modify user information

Log in to mysql and select the database where user information needs to be modified.

Insert image description here

Click on the user above

Insert image description here

Select the user name that needs to be modified , and then click Edit User above.

Insert image description here

The following interface appears, modify the information you need to modify , and then click Save

Insert image description here

5. Other operations

5.1 Check the database version
5.1.1 Terminal viewing

Open the terminal (shortcut key: Win+r, enter cmd), enter mysql -V

Insert image description here

5.1.2 View sql statements

Enter select version() in the query interface  
Insert image description here

5.2 View sql execution plan

Use the explain statement to view the analysis results

Insert image description here  
6. Download address
Navicat download address

Guess you like

Origin blog.csdn.net/qq_41917138/article/details/132549946