Trong MySQL Workbench:
- Menu File → Open SQL Script (hoặc Ctrl+Shift+O).
- Chọn file .sql từ đĩa.
- Chọn Reconnect to database, nhập password, OK (2 lần).
- Script mở trong tab editor.
- Bấm nút Execute (Flash) hoặc Ctrl+Shift+Enter để chạy toàn bộ.
Kết quả hiển thị ở panel Output (số row affected, lỗi nếu có).
Có thể chạy từng statement bằng Ctrl+Enter.