Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30638
    Mike Flaherty
    Guest

    Hi There 

    Unfortunately there was an error creating your backup. Update protection is not available.

    I have been trying to back up and keep getting this messg. Connection to mysql failed with message: SQLSTATE[HY000] [1045] Access denied

    #30639
    Jesse Owens
    Guest

    Hello Mike-

    Thanks for the question, I’m sorry to hear that you’re not able to create backups as expected.

    This is a pretty strange error- creating a backup uses the same database credentials that your overall WordPress website uses, meaning that if your website is working at all then you shouldn’t see that error.

    The first possibility that comes to mind is that your web host may have disabled Database Exports for your MySQL user. You can test that possibility if you have command-line access, by running the command:

    mysqldump -u {Your MySQL Username} -p {Your MySQL Password} export.sql

    You can get the username and password from your wp-config.php file. You can also try this command if your host includes WP-CLI on your server:

    wp db export

    If these commands don’t work, I’d recommend contacting your web host to see if your database user has the correct permissions to export the database.

    I hope this helps!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Connection to mysql failed with message: SQLSTATE[HY000] [1045] Access denied’ is closed to new replies.