摘要:
修改密码方法: 用UPDATE直接编辑user表: use mysql; update user set authentication_string=password('123') where user='root' and host = '%'; flush privileges; MySQL指令 阅读全文
摘要:
先创建一个Dao层接口: public interface UserDao { public void daoMethod(); } 根据Dao层接口创建2个实现类: public class UserDaoImpl implements UserDao { @Override public voi 阅读全文