Document: add the default database password to the getting started document #39780
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Add the default database password to the getting started document.
Why?
I followed the getting started document and I have built the local WordPress environment and Gutenberg successfully.
When I wanted to access the MySQL database, I couldn't connect to the database through the connection information from the document.
I found that I should use the
password
then I can access the database.I think we should add the default password to the document to allow the contributors set up the environment easily.
How?
I add the default database password to the getting started document. When the contributors want to connect to the database, they will note that they should use the password to access the database.
Testing Instructions
using password: NO
Access denied
![image](https://user-images.githubusercontent.com/33183531/160239630-cdc5352b-5e97-4ca1-b194-a09c50548bbc.png)
using password: YES
Access the database successfully
![截圖 2022-03-26 下午8 35 40](https://user-images.githubusercontent.com/33183531/160239752-ce5f62ac-6750-49f8-ab27-8e259beaa7bb.png)