摘要:
一、第一步:进入命令行 mysql -u root -p 二、第二步:进入数据库 use mysql; update user set host ='%' where user = 'root'. #将root用户host设置为% 三、最后一步:刷新权限flush privileges; 本人是这样 阅读全文
摘要:
需求:查询出type 类型是1合2的所有用户信息,但是type=2的用户必须是 sex=1 已知语句 select * from op_al_dd_retain_v where type in (1,2) SELECT * FROM op_al_dd_retain_v WHERE type IN ( 阅读全文