错误:
java.sql.SQLException: Access denied for user 'asus'@'localhost' (using pass)
1.登录:mysql -uroot -proot
2.给asus设置权限:GRANT ALL PRIVILEGES ON *.* TO 'asus'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION;
3.asus和localhost是要根据你的出错信息更改!
4.这个是本地登录,如果是其他形式的登录请百度orgoogle