select * from user where username="dadpt" and password="a151363966"
你是想这么查吗?
你这是写了个寂寞,,,where后面跟的是条件,多看看菜鸟教程 https://www.runoob.com/mysql/mysql-where-clause.html
select username,password from user -- where username="dadpt" and password="a151363966"
你这查询语句就不对呀...