---
title: Deploy Adminer with AI on Blossom
url: "/deploy/adminer/"
canonical_url: https://blossom88.com/deploy/adminer/
markdown_url: https://blossom88.com/deploy/adminer.md
summary: Open a private MySQL database in your browser and run a first query.
categories:
- deployment
- databases
stack:
- PHP
- MySQL
---

# Deploy Adminer with AI on Blossom

[Adminer](https://www.adminer.org/) is a lightweight database interface
you can use in your browser. This recipe connects it to Blossom Managed
MySQL and runs a query on a sample table.

## Ask Your Agent

> **Ask your AI agent:** Deploy Adminer on Blossom and help me query a sample MySQL database.
>
> Follow this guide: https://blossom88.com/deploy/adminer/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Adminer | Sign in, browse tables, and run SQL | App Capacity behind Blossom Account access |
| MySQL | Store the sample records | Blossom Managed MySQL |

## Deploy Adminer

Use the [official standalone image](https://hub.docker.com/_/adminer).
Put Adminer behind Blossom Account access and connect to a database over
its private endpoint.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use HTTP port `8080` and link the MySQL instance to the Environment.
Sign in with credentials for the sample database.

    blossom environment:deploy --id environment-100 --follow

</details>

## Query a Sample Table

Open **SQL command** to create a small notes table and insert two rows.
Run a `SELECT` to see both rows in Adminer.

> **Ask your AI agent:** Help me create a tiny notes table and query both rows in Adminer.

> Follow this guide: https://blossom88.com/deploy/adminer/



![Run a query against the sample MySQL table.](/deploy/assets/images/adminer/notes-query.webp)

## Reopen the Table After an Update

Replace the Adminer Container. Sign in again and open the sample table.
MySQL keeps both rows while Adminer serves a new browser session.

> **Ask your AI agent:** Replace the Adminer Container and check that the two sample notes are still there.

> Follow this guide: https://blossom88.com/deploy/adminer/



![Open the same notes after replacing the Container.](/deploy/assets/images/adminer/notes-table.webp)

## What You Get

A browser interface for MySQL that can be redeployed on App Capacity.

## What You Get

- A private Adminer page
- A MySQL sample table you can query in the browser
- The same rows after replacing the Adminer Container

Tested on Blossom: A fresh Adminer sign-in reopened the same two notes after Container replacement.
