Docker lando-配置的数据库未显示在phpmyadmin中

Docker lando-配置的数据库未显示在phpmyadmin中,docker,lando,Docker,Lando,我已经在Lando安装了Drupal8 我在lando文件中添加了phpmyAdmin服务,问题是配置的数据库没有显示在phpmyAdmin中 name: mydrupal8 recipe: drupal8 config: webroot: /drupal services: # Define your services appserver: # Create a web server container type: php:7.2 # Specify what versi

我已经在Lando安装了Drupal8 我在lando文件中添加了phpmyAdmin服务,问题是配置的数据库没有显示在phpmyAdmin中

name: mydrupal8
recipe: drupal8
config:
  webroot: /drupal


services: # Define your services
  appserver:  # Create a web server container
    type: php:7.2 # Specify what version of php to use
    via: apache   # This could be nginx, should you choose so
    webroot: www  # Specify webroot
    config:  # If you want to add/edit
      #server: config/apache/lamp.conf  # Use an alternate apache config file
      #conf: path/from/app/root/php.ini # Alter php configuration with a custom file
  database:  # Create a database server container
    type: mysql
    portforward: 3308
    creds:  # Specify what creds/db to use
      user: drupal8
      password: drupal8
      database: drupal8
  phpmyAdmin:
    type: phpmyadmin
    user: drupal8
    password: drupal8
    database: drupal8
    hosts:
      - mysql57
  mysql57:
    type: mysql:5.7
以下是除drupal8之外的所有其他数据库

您在phpMyAdmin服务中的主机应与承载数据库的主机相同(drupal8):


不确定这意味着什么,在他的原始文件中有很多“drupal8”。你到底在看什么?
phpmyAdmin:
    type: phpmyadmin
    hosts:
    - drupal8
    mysql57:
    type: mysql:5.7