main.py运行失败
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘imoocc’,
‘USER’: ‘imoocc’,
‘PASSWORD’: ‘123456’,
‘HOST’: ‘127.0.0.1’,
‘PORT’: ‘3306’,
‘OPTIONS’: {},
‘init_command’: ‘SET storage_engine=INNODB,’
‘SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED, autocommit=1, names “utf8”;’,
}
}
后台能正常登录
【课程升级3.6版本】大牛全面践行DevOps,运维与开发间高效协作
了解课程