Closed tcconway closed 1 year ago
Apparently setting - PMA_ARBITRARY=1 in the yml and then using 'mysql' during login works...
Apparently setting - PMA_ARBITRARY=1 in the yml and then using 'mysql' during login works...
What about using
environment:
PMA_HOST: mysql
PMA_PORT: 3306
it should work fine
It's not working with PMA_HOST and PMA_PORT.
Having this...
environment:
- PMA_HOST = mysql
- PMA_PORT = 3306
...doesn't work. I get the following errors when trying to log in: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known mysqli::real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known
When I use this...
environment:
- PMA_ARBITRARY=1
... I can type 'mysql' into the Server field and it allows me to log in.
Perhaps 'mysql' is not unique enough?
Hi,
This is a bit strange, can you try the format I sent you to be sure this is not the cause of this issue ?
PMA_HOST: mysql
PMA_PORT: 3306
Perhaps 'mysql' is not unique enough?
It's just a name, phpMyAdmin will not complain about it ;)
hey, same problems here, same network, and two syntax try
hey, same problems here, same network, and two syntax try
What is your docker compose file?
i have found the solution, juste remove PMA_PORT: 3306
, only the host is enough
The workaround for me was to use the local address of the docker host 10.10.10.x. Using the hostname would fail... I'll have to work out why the host couldn't resolve.
I'll have to work out why the host couldn't resolve.
What is the host ?
Is it external on the computer name ?
I'll have to work out why the host couldn't resolve.
What is the host ?
Is it external on the computer name ?
Local. I have the db and docker/phpmyadmin running on the same host.
You are only required to remove - PMA_PORT = 3306
It's due to yaml syntax (with "-" and "=", do not add space after "=")
This is not working :
- PMA_HOST= mysql
This is working :
- PMA_HOST=mysql
This is working :
PMA_HOST: mysql
Now you can add PMA_USER and PMA_PASSWORD and you'll be automatically logged in PMA web interface
Somewhat new to Docker, so it might be a user error...
After having following several YT tutorials, I cannot get PHPMyAdmin to actually log in--I get the following errors:
My setup is: Docker with the default Laravel setup. Both 'mysql' and 'phpmyadmin' are in the 'sail' network.
Here's my docker-compose.yml: