DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mysql', 'USER': 'root', 'PASSWORD': 'root', 'HOST': '', 'PORT': '3306' } }
This should work for you. You were using the wrong port.The port you were using is for postgresql.You maybe prompted to install mysqlclient. Use pip install mysqlclient. -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ce27245a-24a5-45b2-af68-15afe08e61d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.