Eikyuu
hello, I try to dump my database with MYSQLDUMP but always get an empty document and the following :
the HOST was missing in my code
it's good now !
const dump = spawn('mysqldump', [ '-h',${process.env.DB_HOST}
, '-P',${process.env.DB_PORT}
, '-u',${process.env.DB_USER}
,-p${process.env.DB_PASSWORD}
,${process.env.DB_NAME}
, ], { shell: true })
18 replies
hello, I try to dump my database with MYSQLDUMP but always get an empty document and the following :
Yes but MYSQLDUMP is already installed :
railway run mysqldump --version
Warning: World-writable config file '/usr/local/etc/my.cnf' is ignored
mysqldump Ver 10.19 Distrib 10.11.2-MariaDB, for osx10.17 (x86_64)
18 replies