'root'@'localhost' 사용자(암호 사용: YES)에 대한 액세스가 거부되었습니다(Mysql::오류) 서버에 웹 응용 프로그램을 배포하려고 했는데 이 mysql 데이터베이스 예외가 발생합니다. Access denied for user 'root'@'localhost' (using password: YES) (Mysql::Error) 명령 프롬프트에서 다음을 사용하여 데이터베이스에 액세스하려고 했습니다.mysql -u root -p저는 모든 데이터베이스 작업을 수행할 수 있습니다. 무엇이 잘못입니까? java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) at com.mysql.jdbc.Mysql..