一.django中创建用户名和密码 (venv) D:\project\py37project\Djangopro\Procrm>Python37 manage.py createsuperuser Username (leave blank to use 'administrator'): admin Email address: 2180633571@qq.com Password: Password (again): This password is too common. Bypass
1,下载并安装WAMP 2,启动服务后,找到MYSQL--MYSQL console--弹出命令窗口(刚开始没有初始用户名跟密码,可直接回车执行) 3,首先输入 use mysq;l---然后修改用户名及密码 update user set password = password('123456') where user = 'root'; ----(注意password()方法,及末尾分号结束) ----flush privileges; (注意分号结束,此命令保存修改的用户名及密码) ---