password authentication failed for user php
dsun29 opened this issue · comments
This is one of many errors I get from "docker logs minds_php_fpm-1". Does it have anything to do with the fact that MongoDB is not installed?
[update] it should not have anything to do with MongoDB. It is the CockroachDB I think. Inside minds_cockroachdb I can connect to the db using ./cockroach sql --insecure, but ./cockroach sql -u php --insecure results in "password authentication failed for user php". It seems user php does not exists in the db. neither does the minds db.
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "NOTICE: PHP message: Exception #1541183246: PDOException: SQLSTATE[08006] [7] ERROR: password authentication failed for user php in /var/www/Minds/engine/Core/Data/DataProvider.php:78"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "Stack trace:"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#0 /var/www/Minds/engine/Core/Data/DataProvider.php(78): PDO->__construct('pgsql:host=cock...', 'php', NULL, Array)"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#1 [internal function]: Minds\Core\Data\DataProvider->Minds\Core\Data{closure}(Object(Minds\Core\Di\Di))"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#2 /var/www/Minds/engine/Core/Di/Di.php(25): call_user_func(Object(Closure), Object(Minds\Core\Di\Di))"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#3 /var/www/Minds/engine/Core/Hashtags/User/Repository.php(15): Minds\Core\Di\Di->get('Database\PDO')"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#4 /var/www/Minds/engine/Core/Hashtags/User/Manager.php(21): Minds\Core\Hashtags\User\Repository->__construct()"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#5 /var/www/Minds/engine/Core/Hashtags/HashtagsProvider.php(17): Minds\Core\Hashtags\User\Manager->__construct()"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#6 [internal function]: Minds\Core\Hashtags\HashtagsProvider->Minds\Core\Hashtags{closure}(Object(Minds\Core\Di\Di))"
[02-Nov-2018 18:27:26] WARNING: [pool www] child 11 said into stderr: "#7 /var/www/Minds/engine/Core/Di/Di.php(29): call_u..."