Skip to main content
SQLOZ
Chapter 13 Core & Getting Started

Chapter 13: References, Shortcuts & Troubleshooting

Info: This chapter lists the macOS shortcut table and solutions for common server connection errors.

In this chapter:

13.1 Frequently Used Shortcuts

ShortcutFunction
Cmd + NOpen a new connection
Cmd + TOpen a new SQL editor tab
Cmd + EnterRun the selected query
Cmd + .Cancel the running query (Stop/Kill)
Cmd + Shift + FFormat SQL code
Cmd + EShow the query execution plan (Explain)
SpaceOpen the cell inspector panel in the data grid
Cmd + 0Zoom to fit in the schema designer
Cmd + KOpen the OzAI natural-language SQL bar
Cmd + Shift + PCommand Palette - searchable access to every tool from one place

The File menu also provides Open SQL Script…, Save, Save As…, Save Session… and Open Session…. Export is available from the result grid context menu: CSV and JSON support selected or full results, while SQL, HTML, XML, XLSX and Excel XML 2003 export the full result. Open Help → Keyboard Shortcuts for the live shortcut catalog.

13.2 Common Errors & Solutions

1. Can't connect to MySQL server (Connection refused)

  • Cause: The MySQL server is down, or external access to port 3306 is blocked.
  • Solution: Enable the SSH Tunnel or HTTP PHP Tunnel option in the connection settings. See Chapter 2 for configuration details.

2. Access denied for user 'root'@'...'

  • Cause: The password is wrong, or remote-IP privileges have not been granted on the server.
  • Solution: Check the password and grant only the minimum privilege required for the selected database and operation. For example, a read-only analyst may need:
    GRANT SELECT ON `database_name`.* TO 'user'@'trusted-host';

Warning: Avoid broad *.* grants and unrestricted '%' hosts in production; use a dedicated account, a specific host or network range, and the smallest required privilege set.