# MySqlServerResource.WithPhpMyAdmin

- Module: [Aspire.Hosting.MySql](/reference/api/go/aspire.hosting.mysql.md)
- Defined on: [MySqlServerResource](/reference/api/go/aspire.hosting.mysql/mysqlserverresource.md)
- Version: `17.0.0`
- Kind: `method`

Adds a phpMyAdmin administration and development platform for MySql to the application model.

## Remarks

This version of the package defaults to the tag of the container image.

## Definition

```go
type MySqlServerResource interface {
    // ... omitted for brevity
    WithPhpMyAdmin(options ...*WithPhpMyAdminOptions) MySqlServerResource
}
```

## Signature

```go
WithPhpMyAdmin(options ...*WithPhpMyAdminOptions) MySqlServerResource
```

## Parameters

- `options` (`...*WithPhpMyAdminOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithPhpMyAdminOptions` argument.

- `ConfigureContainer` (`func(obj PhpMyAdminContainerResource)`) `callback` -- Callback to configure PhpMyAdmin container resource.
- `ContainerName` (`*string`) -- The name of the container (Optional).

## Returns

[`MySqlServerResource`](/reference/api/go/aspire.hosting.mysql/mysqlserverresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [MySqlServerResource](/reference/api/go/aspire.hosting.mysql/mysqlserverresource.md) -- `handle`
