Skip to main content

All Questions

Tagged with
0 votes
1 answer
518 views

Using Python 3/Django, how do I export MySql table data as a YAML file?

I'm using Python 3.7, Django 2.0 with MySql 5.7. I have an InnoDB table mysql> show create table address_country; +-----------------+---------------------------------------------------------------...
Dave's user avatar
  • 19.6k
4 votes
1 answer
2k views

How do you configure Django 3 to work with MySql 5?

I'm using Mac 10.13.6 and MySql 5.5 (can't upgrade at this time). I have just created a skeleton Django (v 3.0.2)/Python 3.7 app and configured my database setting like so DATABASES = { 'default'...
Dave's user avatar
  • 19.6k
0 votes
4 answers
182 views

setting up mysql on Mac

I first installed Macports so it would be easier. Then installed mysql5,mysql5-server and py26-mysql. Everything went ok. When I typed: which mysql5 it returns `/opt/local/bin/mysql5 But when i try ...
CurveGamma's user avatar
  • 4,569