-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDEV should provide database credentials when setting up a project #776
Comments
Hi @runeasgar! Sorry for the pain point. As of v0.16.0, when running Also, this was noted by @BrianGilbert in #733. Linking it only to properly cross-reference the request(s). |
I am running v0.16.0.. but the information was not prepopulated. I do see this line in my command line history, but it does not seem to have worked: |
I confirmed the existence of settings.local.php, and DB creds inside it, but it doesn't look like Drupal paid any attention to it. Here's my command history from that time period:
.. and shortly thereafter, |
Hi @runeasgar. This is probably due to the fact that we/ddev needs to do a better job of ensuring the settings.local.php is referenced from settings.php. You and others may have a modified version of settings.php and therefore settings.local.php would get missed. I'll step through that/those scenarios again and see what a proposed set of helper text would be (if it's not already present). |
I'm installing Drupal using this command, which is the first recommendation on Drupal.org for installing Drupal with composer (https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies#download-core-option-a):
Hope that helps! |
There haven't been a lot of continued requests on this, and people seem to know about |
What happened (or feature request):
I set up Drupal 8 on DDEV using the relevant quick start documentation, and did not know what to do when Drupal asked me for database credentials.
What you expected to happen:
To either have been provided with, or to not need database credentials.
How to reproduce this:
See above.
Version: Please include the output of
ddev version
,docker version
and the project's .ddev/config.yaml.Anything else do we need to know:
Basically, I'm asking that the db creds be thrown in my face when starting up the project, rather than having to go to #ddev chat and find out that
ddev describe
is the command I needed :)Related source links or issues:
https://ddev.readthedocs.io/en/latest/users/cli-usage/#drupal-8-quickstart
Please use a complexity rating of 1-5 (5 is high) for a feature request. (High complexity implies more PR planning)
1
The text was updated successfully, but these errors were encountered: