#35023: using keepdb and creating a fixture from the content of the 
test_database
-----------------------------------------+------------------------
               Reporter:  piscvau        |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Documentation  |        Version:  4.1
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Hello
 I am using mysql and I want to create a yaml fixture from the data created
 in the test, after running the tests.
 when I run the test script with ---keepdb I get the following message

 'Preserving testdatabase for alias default.'

 I after launch the command dumpdata and I  get the following error message
 :

 CommandError: Unable to serialize database: The connection
 <test_database_name> doesn't exist.

 I have googled all over the documentation and stackoverflow and django
 project forum and found no solution. It seems there is something
 particular with mysql which does not support transaction but some
 documentation about how to handle this for mysql would be welcomed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35023>
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/0107018c43f69f4a-2a05c9e0-e29a-4d8c-ab4b-c785aa927457-000000%40eu-central-1.amazonses.com.

Reply via email to