Cannot run mariadb:connect and mariadb:export commands, it says command not found for mysql and mysqldump, respectively.
I checked and both mysql and mysqldump commands are available in the host machine but not in the container - in the service container the names are mariadb and mariadb-dump.
How reproducible
The problem occurs when I execute the following commands:
# dokku mariadb:export myservice
OCI runtime exec failed: exec failed: unable to start container process: exec: "mysqldump": executable file not found in $PATH: unknown
# dokku mariadb:connect myservice
env: ‘mysql’: No such file or directory
Environment Information
00_dokku-standard 0.30.9 enabled dokku core standard plugin
mariadb 1.34.0 enabled dokku mariadb service plugin
How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
Description of problem
Cannot run
mariadb:connect
andmariadb:export
commands, it sayscommand not found
formysql
andmysqldump
, respectively. I checked and bothmysql
andmysqldump
commands are available in the host machine but not in the container - in the service container the names aremariadb
andmariadb-dump
.How reproducible
The problem occurs when I execute the following commands:
Environment Information
How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
Using Debian repository.
Temporary fix
I've symlinked the executables and it worked:
After this, running
dokku mariadb:export
works but warns: