0

First time I tried to use Django and Mysql on Python 3. I Use mysqlclient library which is recommended by Django. But when I try to migrate, I got this error. I use OS X El Capitan and Python 3.5.1.

Here's the error:

django.db.utils.OperationalError: (1018, "Can't read dir of './mydbname/' (errno: 13 - Permission denied)")

I tried sudo python3 manage.py migrate.

What's the problem?

Zulfugar Ismayilzadeh
  • 2,643
  • 3
  • 16
  • 26

0 Answers0