#33497: Database persistent connections do not work with ASGI in 4.0
-------------------------------------+-------------------------------------
     Reporter:  Stenkar              |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  ASGI, Database,      |             Triage Stage:  Accepted
  async                              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Sarah Boyce):

 Replying to [comment:22 Andreas Pelme]:

 > However, that would only work for postgres. What is the situation with
 mysql/oracle? Does mysqlclient come with a pool like psycopg?

 Oracle: https://python-
 
oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#connpooling
 mysqlclient doesn't appear to support this out of the box. Looks like
 mysql-connector-python would have support though:
 https://dev.mysql.com/doc/connector-python/en/connector-python-connection-
 pooling.html 🤔

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33497#comment:23>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c5ae43088-1b3347fa-c6bd-45e7-90cf-a2d5f2431aa3-000000%40eu-central-1.amazonses.com.

Reply via email to