[Labs-l] MySQL server error

Emilio J. Rodríguez-Posada emijrp at gmail.com
Wed May 14 20:02:20 UTC 2014


Why things are so difficult? :-/


2014-05-14 20:16 GMT+02:00 Jeremy Baron <jeremy at tuxmachine.com>:

> On Wed, May 14, 2014 at 6:11 PM, Emilio J. Rodríguez-Posada
> <emijrp at gmail.com> 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
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140514/2485b1b5/attachment.html>


More information about the Labs-l mailing list