On Wed, May 14, 2014 at 6:11 PM, Emilio J. Rodríguez-Posada <[email protected]> wrote: > I coded a script that uses several wiki databases and servers. When I > manually execute it, it works fine, but after adding it to cron, it returns > this error: [...] > _mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host > 's3.labsdb' (0)")
Sounds like whatever host you end up running on is missing /etc/hosts entries. See https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Connecting_to_the_database_replicas_from_other_Labs_instances -Jeremy _______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
