-
I am unable to login to phpmyadmin after following the guide. Below is my docker compose file: When i attempt logging into myphpadmin page with the user I have created i get the error: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
just like this? phpMyAdmin - Database managementCreate a new user with admin privileges. Cannot login as MySQL root for some reason.phpmyadmin: and you have a proper user in .env right? |
Beta Was this translation helpful? Give feedback.
-
And you cant get in with the created user through exec bash?
…On Tue, May 3, 2022, 7:23 AM sybanyt ***@***.***> wrote:
I have been unable to get it to work after amending to what you have
provided above.
I am still getting the error after making modifications in my compose file
and reviewing the link shared above:
*Cannot log in to the MySQL server mysqli::real_connect(): (HY000/2002):
No such file or directory*
I had to amend this line:
- $DOCKERDIR/appdata/pma:/etc/phpmyadmin/config.user.inc.php
to
-
$DOCKERDIR/appdata/pma/config/user.inc.php:/etc/phpmyadmin/config.user.inc.php
I have created the config.user.inc.php file in the directory above with
the contents from the linked github page before running docker-compose
Can you clarify for me your comment on having a proper user in .env.
After running docker compose, i did docker-exec into the mariadb container
and i have created a user and granted all privileges on all databases with
the command:
create user 'username'@'%' identified by 'userpassword';
grant all privileges on *.* to 'username'@'%';
flush privileges;
Attached is my docker-compose file
docker-compose.txt
<https://github.com/htpcBeginner/docker-traefik/files/8610095/docker-compose.txt>
—
Reply to this email directly, view it on GitHub
<#269 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIJNREUDHE5ECWMQ53JKC3VIEEEFANCNFSM5U2AHWVA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
This was identified as a bug. Reference: phpmyadmin/docker#361 Working for me now |
Beta Was this translation helpful? Give feedback.
This was identified as a bug. Reference: phpmyadmin/docker#361
Working for me now