Skip to content

Wrong zero config resolution for DDEV database #134

@tppope

Description

@tppope

Extension Version

v2.14.1

OS and Version

Windows 11 Pro, 25H2, 26200.7462

VS Code Version

v1.107.0

Database name and Version

mariadb 10.3

Steps to reproduce

  1. Config and start DDEV project with following config.yaml:
name: my_project
type: php
docroot: ""
php_version: "8.4"
webserver_type: apache-fpm
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
    type: mariadb
    version: "10.3"
use_dns_when_possible: true
composer_version: "2"
web_environment: []
corepack_enable: false
  1. Open DEVDB view in VS Code and see following:
Image
  1. After I click on DDEV - MySQL I get:
Image
  1. From DBDEV console I get:
Image

So it looks like it doesn't know about my MariaDB database from .ddev directory of the project. It always try to connect using mysql2 dialect.

Expected behavior

See MariaDb database created via DDEV config.yaml file.

Screenshots

Image Image Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions