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.
Asked
Active
Viewed 4,530 times
2 Answers
11
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

Mathias Brodala
- 5,905
- 13
- 30
-
2When you ssh into the web container, the credentials are at host 'db', so db:db@db/db. So in the web container you could use `mysql -udb -pdb -hdb --database=db` and it would work fine. – rfay May 15 '18 at 16:31
-
Thank you very much for your answers. Both answers work. I updated this morning ddev to the recent version 0.18.0, after executing ddev config again, the AdditionalConfiguration.php with the database credentials was created. – Chris May 16 '18 at 07:06
0
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'

Dan Gurin
- 91
- 1
- 4