Replies: 1 comment
-
Install the mysql client on php docker |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a couple of docker containers for my Laravel app (Nginx, PHP, MySQL, PHPMyAdmin, etc).
I don't know how to set the path to the mysqldump file as it's in the docker container! I tried many different paths mentioned on the internet (e.g. 'var/lib/mysql', 'mysql/bin', 'usr/bin', etc), but none of them works!
Fortunately, when I run the following command, the backup file is generated successfully, so I think the mysqldump file is in the '\usr\lib':
The following is my MySQL service definition that I have in my docker-compose.yml file:
Here is the MySQL settings in config/database.php:
Here is the error I get when I run
Beta Was this translation helpful? Give feedback.
All reactions