docs/documentation/platform/pam/accounts/mysql.mdx
MySQL accounts let you manage access to your MySQL databases. Users connect through Web Access (a browser-based interface) or CLI (a local proxy), and every session is recorded.
- **Data Explorer** — browse tables, view data, filter and sort, edit rows, export to CSV/JSON
- **SQL Editor** — write and run SQL queries
To connect:
1. Go to **Privileged Access Management → My Access**
2. Find the account and click **Launch → Connect in Browser**
```bash
infisical pam access my-folder/orders-db
```
The command outputs the local port to connect to. Then use your MySQL client:
```bash
mysql -h 127.0.0.1 -P <port> -u root orders
```
No password needed since the proxy handles authentication.
**Flags:**
- `--port <port>` — use a specific local port (otherwise one is assigned automatically)
- `--reason <reason>` — provide an access reason (if required by template)