1

我在尝试连接在 LANDO 中创建的数据库时遇到问题。LANDO 中有我的数据库列表:

+--------------------+
| Database           |
+--------------------+
| information_schema |
| lamp               |
| lando_test_cli     |
| mysql              |
| performance_schema |
| sys                |
+--------------------+

我想连接到名为 的数据库lando_test_cli,所以我在 Sequel Pro 中连接

host: 127.0.0.1
user: lamp
password: lamp
database: lando_test_cli
port: 3307

但我无法连接,它给我抛出了这个错误: 用户'lamp'@'%'拒绝访问数据库'lando_test_cli'

这是我的兰多信息:

[ { service: 'appserver',
    urls:
     [ 'https://localhost:32779',
       'http://localhost:32780',
       'http://my-lando-app.lndo.site/',
       'https://my-lando-app.lndo.site/' ],
    type: 'php',
    healthy: true,
    via: 'apache',
    webroot: '.',
    config: {},
    version: '7.3',
    meUser: 'www-data',
    hasCerts: true,
    hostnames: [ 'appserver.mylandoapp.internal' ] },
  { service: 'database',
    urls: [],
    type: 'mysql',
    healthy: true,
    internal_connection: { host: 'database', port: '3306' },
    external_connection: { host: '127.0.0.1', port: '3307' },
    healthcheck: 'bash -c "[ -f /bitnami/mysql/.mysql_initialized ]"',
    creds: { database: 'lamp', password: 'lamp', user: 'lamp' },
    config: {},
    version: '5.7',
    meUser: 'www-data',
    hasCerts: false,
    hostnames: [ 'database.mylandoapp.internal' ] } ]
4

0 回答 0