Skip to content

MySQL Workbench offers a robust platform for database management, ideal for architects, developers, and DBAs. Its user-friendly interface allows for easy editing of table data, whether you’re updating records, adding new ones, or deleting unnecessary data. This tool significantly simplifies database maintenance tasks, reinforcing the efficiency of database management practices. With the understanding of its user-friendly approach, we will delve into the step-by-step process of adding, updating, and deleting data within tables using MySQL Workbench.

How to access table data in MySQL Workbench?

Connect to your database using MySQL Workbench and locate your schema in the Navigator area. Expand the schema list, find the table you wish to edit, and either double-click on its name or right-click and choose “Select Rows - Limit 1000”. This action opens the table contents in a new central workspace tab.

Editing data in the grid

To start editing, follow these steps:

  1. Click a cell to activate edit mode and directly modify its value.
  2. Use the dropdown to select from available options for ENUM or SET type fields.
  3. Insert new records by filling out the blank row marked with an asterisk (*) at the bottom.
  4. Right-click the row number to delete a record and choose “Delete Row”.

Saving your changes

To save your edits:

  • Hit the “Apply” button at the workspace’s bottom right. A dialog will appear, showing the SQL statements for the changes.
  • Verify the changes and, if correct, click “Apply” to execute the statements.
  • Click “Finish” once the application of changes is successful.

Using SQL for editing

For those preferring SQL:

UPDATE your_table_name
SET column_name = 'new_value'
WHERE condition;

Customize this to update your data, substituting in your table name, column to update, the new value, and a condition to locate the correct record.

To add a new entry:

INSERT INTO your_table_name (column1, column2, ...)
VALUES (value1, value2, ...);

Adjust the table name, columns, and corresponding values as needed.

For deletion:

DELETE FROM your_table_name WHERE condition;

Make sure the condition correctly identifies the records you intend to remove.

Conclusion

By offering both grid-based and SQL text editing options, MySQL Workbench ensures that database management remains streamlined and effective. Always double-check your changes before applying them to safeguard against unintended data modifications.

Written by

Robert Cooper avatar

Robert Cooper

Senior Engineer at Basedash

Robert Cooper is a senior engineer at Basedash who builds full-stack product systems across SQL data infrastructure, APIs, and frontend architecture. His work focuses on application performance, developer velocity, and reliable self-hosted workflows that make data operations easier for teams at scale.

View full author profile →

Looking for an AI-native BI tool?

Basedash lets you build charts, dashboards, and reports in seconds using all your data.