Associated operations between Navicat and the command line

We know that the database MySQL can be operated through the command line. In addition, as a visual operation tool, Navicat can also operate MySQL in a more concise way (but you still need to learn SQL statements later, and you cannot rely on Navicat). This article will show whether the operation of the command line on MySQL is effective in Navicat, and whether the two can be associated with each other.
First, we use Navicat to create a connection testmysql, and create a database db01, which has a table user and 4 rows of data.

 Then we open cmd as an administrator, switch to the directory where MySQL is located, and connect to MySQL.

 Then enter the following command, use db01 means to connect to the database; show tables to display the tables in the database; insert into user values(4, 'tom', 'sh') means to insert a row of data into the table

 After refreshing, the cashback in Navicat has been added

 

Guess you like

Origin blog.csdn.net/weixin_62588253/article/details/130298511