Connect to the database with Navicat Premium!

Introduction of Navicat Premium

Navicat Premium is a suite of database development tools that allows you to connect to MySQL, MariaDB, MongoDB, SQL Server, Oracle, PostgreSQL and SQLite databases simultaneously from a single application. It is compatible with cloud databases such as Amazon RDS, Amazon Aurora, Amazon Redshift, Microsoft Azure, Oracle Cloud, MongoDB Atlas, Alibaba Cloud, Tencent Cloud, and Huawei Cloud. You can create, manage and maintain databases quickly and easily.

Use of Navicat Premium

Open the software and connect to the database.

  • MySQL

I am connecting to MySQL here, but I can also connect to other databases.

Connection name : Just choose a name.

Host : If it is the local machine, just use the default one, otherwise you need IP to connect.

Port : Default if there is no problem, change to another if an error is reported.

Needless to say, the user name and password .

 Then click Test Connection in the lower left corner.

When the connection is successful, click OK. Double click on this database of yours.

 

 Then you can come in and perform database and table operations.

Right-click the connection name and click New Database.

 The database name is essential, and the remaining two items can be filled in if required, and can be controlled if not required.

I built a test database.

 

 Then right click on the table to create a table.

 You must remember that under the primary key, auto-increment must be checked , and it must be checked before saving the table , otherwise, an error will be reported.

Demonstrate querying and inserting table data.

It is optimistic that if the operation is wrong, there will be errors. Because the id is a self-incrementing column, there is no need to input data, but null must also be written.

还有别的语句,没一 一的写出来,时间太长了,像操作数据库语句,操作表语句等等,都可以试试,报错了就检查自己的语句出没出错。

Last

别的数据库连接的方式大差不差,都是差不多这样的,我常用的是SqlServer和MySQL。

Navicat Premium的最简单的使用方法就到这里了,感谢大家支持。

 

Supongo que te gusta

Origin blog.csdn.net/SFalS/article/details/129487793
Recomendado
Clasificación