mysql 5.6安装好之后,是默认root用户的密码为空的,此时为了安全性需要修改密码不为空,修改方法为: cmd或者mysql 5.6 command line client登陆之后,输入一下命令: use mysql update user set password=PASSWORD('123456') where user='root'; flush privileges; 注意在使用update后,需要进一步输入flush privileges;语句,否则修改密码命令操作不会生效.PA
AccountNumber1 = [] password1 = [] flag = True while flag: num = 0 a = 1 print('-----------这是个欢迎界面---------------') print(''' 1.注册账号 2.登陆账号 3.更改密码 ''') num=input() if num==1: while a<2: AccountNumber=input('请您注册账号') if AccountNumber1.count(AccountNum