-
Notifications
You must be signed in to change notification settings - Fork 129
Can't connect to mariaDB #194
Comments
Some questions from my side :) Are you running phundament inside Docker?
Can you run
|
Thx for your response. Yes, I run phunament inside Docker and I use mysql. |
Which MySQL image do you use? Could you post your Are you running I'd definitely like to support the dockerized setup on Windows, but I have no test-setup ... yet. |
I execute docker-compose within the "Docker Quickstart Terminal".
|
Use
This will prefix ENV variables from the database container with Note that links will go away in a future version of Docker. |
Still the same outcome, except that i get another IP-address in my error message (172.17.0.3 instead of 172.17.0.1) |
Be aware of data loss in your containers! Could you show the output of |
Version:
Info:
I tried |
Hmmm, I am a bit clueless at the moment. ... and does it also don't work with a fresh clone? |
CC @disco-tex77 @marc7000 @eluhr @Quexer69 If you could test this on Windows, this would be great. |
Hi, have the same issue: Database Exception – yii\db\Exception SQLSTATE[HY000] [1045] Access denied for user 'dev'@'172.17.0.5' (using password: YES) SQLSTATE[HY000] [1045] Access denied for user 'dev'@'172.17.0.5' (using password: YES) in /app/vendor/yiisoft/yii2/db/Connection.php at line 579 |
@philippfrenzel Could you double check which command is running in the container? Workaround: |
You may need to update Line 200 in cd86032
|
didn't had that extension in composer at all? Isn't it added by the dmst meta package? |
It is, but maybe your version is too old in your app :) Which meta-package version do you have? |
i had to fix tls like this: first make sure that the virtual machine is runningdocker-machine start default regenerate TLS connection certsdocker-machine regenerate-certs default finally, set enveval "$(docker-machine env default)" |
And it's ~2.0.0 ;) |
I get the following error:
SQLSTATE[HY000] [1045] Access denied for user 'user'@'172.17.0.3' (using password: YES)
And when I change the variables:
within the .env file according to the IP+Port I need, there is still the same error.
The text was updated successfully, but these errors were encountered: