Getting Started with MySQL is Easy Chapter 2: Introduction to MySQL Administration Tools

The MySQL graphical management tool greatly facilitates the operation and management of the database. Commonly used graphical management tools include: MySQL Workbench, Navicat for MySQL, etc. Among them, Navicat for MySQL provides Chinese operation interface; MySQL Workbench is English interface. The following introduces several commonly used graphical management tools.

1. MySQL Workbench

1.1 MySQL Workbench installation

Open URL: https://dev.mysql.com/downloads/workbench/

Select the corresponding version and click Downloaded

image-20220210215815447

image-20220210220021239

After the download is complete, install it. The installation location is the default.

Open MySQL Workbench after installation

image-20220210222055960

1.2 Create and delete databases

Click the + sign in the upper right corner

image-20220210223728496

Change the database name to test_db, click belowapply

image-20220210223813429

On the right you can see the database we created

image-20220210224058646

If you want to delete the database after it is created, you can right-click the database to delete it.

image-20220210224212376

1.3 Create, edit and delete data tables

Once created test_db, you can create, delete, and edit data tables

Right-click test_dbin the database Tableand selectCreat Table

The data table is named table1, and the contents are name and age

image-20220210230647005

View the data table table1 after creation and add test data

image-20220210231522875

image-20220210231559195

If you want to delete the data table, select the data table and right-click to selectdrop table

image-20220210231718056

2. Navicat for MySQL

2.1 Navicat installation

"Navicat" is a set of database management tools that can create multiple connections to facilitate the management of different types of databases such as MySQL, Oracle, PostgreSQL, SQLite, SQL Server, MariaDB and/or MongoDB, and supports the management of certain cloud databases, For example, Alibaba Cloud and Tencent Cloud. Navicat is functional enough to meet all the needs of a professional developer, yet fairly easy to learn for database server beginners. Navicat's User Interface (GUI) is well designed to allow you to create, organize, access and share information in a secure and simple way.

Navicat official website: http://www.navicat.com.cn/download/navicat-premium

click to download

image-20220210231909777

After downloading, just install and open

Choose to try

image-20220210232219786

image-20220210232245389

2.2 Connect to MySQL server

Select 文件–> 新建连接–> in turnMySQL

image-20220210232441198

Fill in the basic information

image-20220210232659844

After the connection is successful, you can view the basic information

image-20220210233018869

2.3 Basic Navicat Operations

The basic operation of Navicat is similar to that of workbench, which is not described separately.

Guess you like

Origin blog.csdn.net/qq_43475285/article/details/122871490