Skip to content
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

Fix Typo in phpMyAdmin example #1895

Open
wants to merge 3 commits into
base: 8.x
Choose a base branch
from

Conversation

randallmorse
Copy link

@randallmorse randallmorse commented Dec 1, 2024

the service is mysql not some-mysql

Questions Answers
Branch? 8.x
Description? The docker compose example for adding phpMyAdmin has a typo in its links definition, the example fails as its looking for the service name instead of the container name, additionally ensure the the container can reach the mysql service by adding it to the shared private network.

the service is mysql not some-mysql
@github-actions github-actions bot added the 8.x label Dec 1, 2024
@randallmorse randallmorse changed the title Fix Typo in PHPMyAdmin example Fix Typo in phpMyAdmin example Dec 1, 2024
…the mysql service

The network should be defined or the container wont be able to reach the mysql service unless you expose the ports. This is likely the best example.
@randallmorse randallmorse requested a review from SharakPL December 1, 2024 19:56
with the PMA_HOST and PMA_PORT and PMA_ARGITRARY defined it seems that the intent is to have the system leverage this connection information, however with out the PMA_USER and the PMA_PASSWORD configuration set this information is not used, to better serve the example the db user and pass from  lines 25 and 26 could be set here and then the container would auto login for phpMyAdmin for the example
environment:
PMA_HOST: some-mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
PMA_USER: root
PMA_PASSWORD: admin
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SharakPL is this the intent of having the host name and port set here? see comment on the commit, at current it isnt used unless the the PMA_HOST and PMA_PASSWORD is set, I think this might have been the intent and if not could be a great add to the example to assist new users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants