Re: Very strange KeyError on 'PORT' in db/backends/mysql/base.py

2011-11-23 Thread Ivo Brodien
just another wild guess: in django/db/utils.py Line 84: for setting in ('NAME', 'USER', 'PASSWORD', 'HOST', 'PORT'): conn.setdefault(setting, ‘’) It looks like PORT is set to ‘’ instead of 3306 if missing. But still it should be in the dict. really strange, yes. -- You re

Re: Very strange KeyError on 'PORT' in db/backends/mysql/base.py

2011-11-23 Thread Ivo Brodien
> * Colleagues have been unable to reproduce this using very similar stacks > which could mean it's OS related to threading or something really low-level. > Sigh... maybe I did a wrong search, but I did grep -r '3306’ . inside the django directory and could not find a place where the defaul