2023-06-24 17:34:34 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 133
Caused by: [PDOException] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121
Caused by: [PDOException] PDO::__construct(): php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121
2023-06-24 17:34:34 error: Could not connect to Database.
it can't find the mysql db with the ip 192.168.5.252 and port 3306
it's both set in the compose.yaml
i have modify the my volumes, like this:
volumes:
/home/passbolt/database_volume:/var/lib/mysql
an i set also a new static network ip address, but nothing works.
i also tried with an external mariadb hosted, same error, no connection.
hi, if i try to bind the volumes. i get an error:
2023-06-24 17:34:34 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 133 Caused by: [PDOException] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121 Caused by: [PDOException] PDO::__construct(): php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121 2023-06-24 17:34:34 error: Could not connect to Database.
it can't find the mysql db with the ip 192.168.5.252 and port 3306 it's both set in the compose.yaml
i have modify the my volumes, like this: volumes:
an i set also a new static network ip address, but nothing works. i also tried with an external mariadb hosted, same error, no connection.