| description | Use the [[= product_name_cloud =]] CLI to manage your I[[= product_name_cloud =]] projects from the command line. |
|---|---|
| month_change | true |
The [[= product_name_cloud =]] CLI (ibexa_cloud) is a command-line tool for managing your [[= product_name_cloud =]] projects.
It is based on the Upsun CLI and shares the same commands.
Follow the installation instructions at cli.ibexa.cloud.
After installation, authenticate with your [[= product_name_cloud =]] account:
ibexa_cloud auth:browser-loginFor the full list of available commands, see the Upsun CLI reference.
Replace upsun with ibexa_cloud in all examples.
To execute a SQL upgrade script on a [[= product_name_cloud =]] environment, pass it to ibexa_cloud sql:
=== "MySQL"
```bash
ibexa_cloud sql < vendor/ibexa/installer/upgrade/db/mysql/ibexa-x.x.x-to-x.x.y.sql
```
=== "PostgreSQL"
```bash
ibexa_cloud sql < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-x.x.x-to-x.x.y.sql
```
To connect to the database using a graphical SQL client, start a SSH tunnel by running the following command in the project directory:
ibexa_cloud tunnel:openThe command outputs connection details, for example:
SSH tunnel opened to database at: mysql://user:<PASSWORD>@127.0.0.1:30000/main
Use the displayed host, port, database name, username, and password to configure your SQL client.
When you're done, close the tunnel:
ibexa_cloud tunnel:close