如何解决"/>
配置数据可报TypeError: object supporting the buffer API required改如何解决
看自己配置的问题在配置数据库时除了端口不用账号其他都需要加上账号
检查自己的密码因为大多数都是密码的没有加引号只需加上引
DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql','HOST':'localhost','PORT':3306,'USER':'root','PASSWORD':'123123','NAME':'name'}
}
号即可
更多推荐
配置数据可报TypeError: object supporting the buffer API required改如何解决
发布评论