0

The last thing I did was System/Cache Management/Flush Magento Cache, now it appears database connectivity has been interrupted:

ERR (3): Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /opt/bitnami/apps/magento/htdocs/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 129

2
  • I just realized the old database connection host etc is stuck in the database and is not reloading from local.xml. How/where does one reset these values directly in the database? Commented Jun 14, 2017 at 10:58
  • try to export database and import it again with a name provided in the local.xml file!! This issue is related with the host name issue of course. Also, please check host name information in the local.xml file whether you are using proper host name to connect to the database. Commented Jun 14, 2017 at 13:10

1 Answer 1

0

@Kevin try to export database and import it again with a name provided in the local.xml file!! This issue is related with the host name issue of course. Also, please check host name information in the local.xml file whether you are using proper host name to connect to the database.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.