Anyone?

On Tuesday, June 10, 2014 11:26:18 PM UTC-4, Zemian Deng wrote:
>
> Hi there,
>
> I am using mysql-connector-python (1.1.6) with Django (1.6.5) and myapp 
> is working fine. But each SQL call to DB will result the following warning 
> messages:
>
> Exception ignored in: <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketType.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 62622), 
> raddr=('127.0.0.1', 3306)>
>
> ResourceWarning: unclosed <socket.socket fd=4, 
> family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=6, 
> laddr=('127.0.0.1', 62622), raddr=('127.0.0.1', 3306)>
>
>
> Has anyone seen this and know a way to resolve it?
> Also, FYI, I am using the following in my settings file.
> DATABASES = {
>     'default': {
>        'ENGINE': 'mysql.connector.django',
>        'NAME': 'mydb',
>        'USER': 'test',
>        'PASSWORD': 'test',
>     },
> }
>
> Thanks,
> Zemian
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9b088458-e57c-4527-94bd-92d2123994a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to