Keywords: Drupal - Google Cloud Platform - Technical issue - Other
i have recently created a fresh VM on google cloud from bitnami and faced a problem i have never seen on before (older bitnami images or classical LAMP servers).
The drush cannot be used on the server.
The error looks like the following, after running a typical drush command:
mysql.bin: [ERROR] unknown variable 'defaults-file=/tmp/drush_uQb1zr'
[error] Unable to open database shell. Rerun with --debug to see any error message.
after long and tedious googling the subject, i have a suspicion that it might have something to do with a custom mysql wrapper from bitnami and/or with the order or parameters sent to mysql. However following any of those leads didn't bring any results.
drush version: 9.2.1
mysql version: Ver 14.14 Distrib 5.7.21
php version: 7.1.16
Any help is appreciated.