user4287110
user4287110

Reputation:

How to connect to the database in ddev?

I installed successfully ddev for TYPO3 and now want to connect to the mariadb database. But what are the credentials? If I ssh into the container and want to connect I got a password prompt.

Upvotes: 5

Views: 9572

Answers (2)

Dan Gurin
Dan Gurin

Reputation: 341

When upgrading my ddev and deleting all the containers, everything stayed the same except my new port number incremented up by one.

mariadb
Host: localhost:portNumberIncrementedByOne
User/Pass: 'db/db'

Upvotes: 0

Mathias Brodala
Mathias Brodala

Reputation: 6460

Access via external tools is described in Using Developer Tools with ddev.

Specifically you need to execute the following command to get the necessary credentials:

ddev describe

Upvotes: 19

Related Questions