Navicat is very easy to use with shortcut keys

I think navicat is basically used for programming. It is convenient, fast, intuitive, etc. It has many advantages, which is why I wrote this article.

In the past, I basically used phpmyadmin, and it was very easy to use, but there were also many shortcomings. For example, the database backup file was too large, and it was impossible to import at all. It was very unpleasant to have to configure phpmyadmin for multi-database server management.

Navicat is actually not very convenient for those who have just used it, but it is different when they are familiar with it. Here's how to combine shortcut keys to make navicat more comfortable to use.

1. How does Navicat write sql statement query?

Method 1: ctrl+q will pop up a sql input window, and you can write sql in it. After writing sql, directly ctrl+r executes sql. Another point, Navicat will prompt when writing sql statements, and the root code is almost completed , which is very cool.

Method 2: Press f6 and a command window will pop up, which is the same as when you enter mysql -u mysql -p, but an error will be reported when \G is used . You can also inquire here.

Tips: These windows can be dragged together, there are two windows, we can switch between the windows through the shortcut key ctrl+tab .

Second, how does navicat back up, restore databases, and tables?

Method 1: Right-click on the data name =" and select dump sql file to back it up. If you want to restore it, just select execute sql file . Back up the table, and operate the same as the root backup database. To restore the table, just use the import wizard. This kind of backup can only export .sql files. If you want to back up to other file formats, see Method 2.

Method 2: Click on the database, a window will pop up in the export wizard above the point , allowing you to choose what kind of file to back up , the next step

If there are too many tables, it is really inconvenient to use this method to back up. If it is imported, use the import wizard . Back up the table the same operation.

Third, how to view table data and table structure?

Double-click the table to view the table data. ctrl+d can not only see the table structure, but also the index, foreign key, trigger, etc.

Fourth, how to manage multiple mysql servers?

Click the connection button on the upper left to connect a few more.

Five, how to use navicat to manage the database administrator?

Click manage users in the upper left and a window will pop up, which will list all mysql administrators. After modifying the permissions, save it.

Six, the most commonly used shortcut keys

1.ctrl+q to open the query window

2. ctrl+/ Comment sql statement

3.ctrl+shift +/ uncomment

4.ctrl+r run the sql statement of the query window

5.ctrl+shift+r only runs the selected sql statement

6.F6 opens a mysql command line window

7.ctrl+l delete a line

8.ctrl+n open a new query window

9.ctrl+w closes a query window

10.ctrl+d opens a window of the table structure in the query table data interface

The above 6 points are just some common and basic operations. Navicat also has many user-friendly operations. Not much to say here, interested friends, you can come to play next time. Personally, I think it's pretty cool to use.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324994991&siteId=291194637
Recommended