4
我想,當這個人是來與蟒蛇趕在memcached的一個錯誤:錯誤下跌
import memcache
import socket
mc = memcache.Client(['127.0.0.1:11211'], debug=1)
try:
print mc.get('gfdsgf')
except socket.error:
print 'error'
但我仍然有這個錯誤在我的控制檯:
MemCached: MemCache: inet:127.0.0.1:11211: connect: Connection refused. Marking dead.
None