When you first open MySQL Workbench, you’ll see the home screen with connection tiles.
Using an Existing Connection
- Look for a tile labelled “Local instance MySQL” (or similar)
- Click on this tile
- Enter your password:
- Either the root password you set during installation
- Or the username and password of a user you created
- Click OK
- You’re now connected - the SQL editor window will open
Creating a New Connection
If you don’t see a connection tile, or need to create a new one:
- Click the + button next to “MySQL Connections”
- In the Setup New Connection window:
- Connection Name: Give it a name (e.g., “Local MySQL”)
- Hostname: Leave as 127.0.0.1 (or localhost)
- Port: Leave as 3306
- Username: Enter root or the username you created during installation
- Password: Click “Store in Vault” and enter your password
- Click “Test Connection” to check it works
- Click OK to save the connection
- Click on your new connection tile to connect
Once Connected
You’ll see:
- Schemas panel on the left (your databases)
- Query editor in the centre (where you write SQL)
- Output panel at the bottom (query results and messages)
You can now start creating databases and running SQL queries in the query editor.