[Navicat] How to create a new connection, create a new database, and import a database in Navicat

1. Create a new connection

  1. Create a new MySQL connection: Open Navicat and click " 左上角第一个图标 --> MySQL".

insert image description here

  1. Other information will appear automatically, just fill in 连接名和密码and click Save to create a new connection.

insert image description here

2. Create a new database

  1. Open the newly created connection: Click "Open Connection" to open the connection.

insert image description here

  1. A green color appears to indicate that the connection to the database is opened, and then right-click.

insert image description here

  1. Create a new database: Click "New Database" to create a new database.

insert image description here

  1. Fill in the name of the database (set by yourself) and character set (choose utf8).

insert image description here

3. Import database

  1. Right-click on the newly created database and select "Execute SQL File".

insert image description here

  1. Select the SQL file to be imported.

insert image description here

  1. After the import is successful, click "close" to close.

insert image description here

  1. Right-click "Table" and click "Refresh" to refresh.

insert image description here

  1. After refreshing you can see all the tables.

insert image description here

Guess you like

Origin blog.csdn.net/qiqizgl777/article/details/129466151
Recommended