update users set pass='123456',xingming='校长',shenfen='123456123456123456',phone='12345612345',email='1234567@qq.com',`where`='北京长江路76号胡同2' where name='123456'
最终才知道是因为Mysql中的where关键字的问题,
解决方案
1:有些字是关键字需要引号引起来,(在英文状态下,点1左边的按键)`name`,直接用上面变量那个引号是错的,很奇怪
2:或者字段前带上表名也是安全的!users.where