@
napoleonu 改ip还是2002错误
4 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycop g2', 'mysql', 'sqlite3' or 'oracle'.
15 'NAME': 'mysql', # Or path to database fi le if using sqlite3.
16 'USER': 'root', # Not used with sqlite3.
17 'PASSWORD': '123456', # Not used with sqlite3 .
18 'HOST': '127.0.0.1', # Set to empty strin g for localhost. Not used with sqlite3.
19 'PORT': '3306', # Set to empty string for default. Not used with s
直接运用mysql又没问题