问题1:执行migrate报错以下python
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1142, "CREATE command denied to user 'haben'@'localhost' for table 'django_migrations'"))django
解决方式:spa
GRANT ALL PRIVILEGES ON first.* TO 'test'@'localhost' IDENTIFIED BY '123456'同步
使用同步命令:io
问题2:table
解决方式:class
问题3:test
解决方式:exception
问题4:command
解决方式:
问题5:
解决方式:
问题6:
解决方式: