Project startup mysql error?

Access denied for user "root"@"localhost" (using password: yes)? There is no problem entering the password using mysql-u root-p, and there is no problem connecting using the graphical interface. This error is reported when starting the project in tomcat.

Nov.19,2021

check whether the password in tomcat is written correctly, and then check whether root@'localhost' has login permissions

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb8dcd-2707.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb8dcd-2707.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?