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
2. Import backup
3. Query data
4. Modify user information
5. Other operations
- 5.1 Check the database version
- 5.1.1 Terminal viewing
- 5.1.2 View sql statements
- 5.2 View sql execution plan
1. Connection and use
1.1 Connect to database
Open navicat, click Connect , select the database
The following interface pops up (taking MySQL as an example), familiarize yourself with the functions of each part.
Test whether you can connect. If there is the following prompt, click OK to start using the database.
Double-click or right-click to open the connection. The icon lights up to indicate that the connection has been opened.
1.2 Operation database
Right-click the connection and click New Database
Enter the database name and encoding rules
Double-click or right-click to open the database (the gray icon lights up to indicate open)
2. Import backup
Open the database, right-click and select Run SQL file to back up the database file.
Select file to import
The import is successful as follows
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)
3. Query data
inquiry mode:
- Directly click on the corresponding table to query data.
- Use sql statement to query.
Double-click or right-click to open the table to view the data
(The following is a demonstration query using sql statement )
Click ① or ② , then click New Query
Enter sql statement
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.
Click on the user above
Select the user name that needs to be modified , and then click Edit User above.
The following interface appears, modify the information you need to modify , and then click Save
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
5.1.2 View sql statements
Enter select version() in the query interface
5.2 View sql execution plan
Use the explain statement to view the analysis results
6. Download address
Navicat download address