Drupal database not found after running update.php
"No route to host" looks like something related to DNS. If you're not, try using an IP for your database server in settings.php

If it's localhost, use 127.0.0.1