Skip to main content

Error when attempting to access SQL database: Access denied for user 'username'@'localhost' (using password: YES)

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  Do you see anything that may be helpful in the MySQL log?  The default location on a cPanel server for that log file is /var/log/mysqld.log.

    I'm wondering if it could be related to this bug:

    https://bugs.mysql.com/bug.php?id=118447

    but hopefully the logs would show us more.

    0
  • Louis Cannon

    Hi, thank you for the response!

    It looks like I do not have a MySQL log in my directory. The /var/ folder is empty, aside from /cpanel/styled/ and no results appeared when I searched for the file.

    0
  • cPRex Jurassic Moderator

    These would be root-level folders, so if you only have cPanel access to the server you wouldn't be able to see that log file. 

    0

Please sign in to leave a comment.