I am running on Mac OS.

> On Apr 22, 2015, at 3:39 PM, Tom Tan <[email protected]> wrote:
> 
> Hi,
> 
> I tried to follow the tutorial and run the “one hot gym” example.  Got 
> following error when running swarm.py
> 
>   File "/Library/Python/2.7/site-packages/pymysql/__init__.py", line 88, in 
> Connect
>     return Connection(*args, **kwargs)
>   File "/Library/Python/2.7/site-packages/pymysql/connections.py", line 626, 
> in __init__
>     self._connect()
>   File "/Library/Python/2.7/site-packages/pymysql/connections.py", line 818, 
> in _connect
>     2003, "Can't connect to MySQL server on %r (%s)" % (self.host, e))
> pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 
> 'localhost' ([Errno 61] Connection refused)”)
> 
> 
> Seems MySQL is required?  If so, any DB scripts to create schema etc?
> 
> Regards,
> Tom
> 
> 

Reply via email to