• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue When restoring MySQL Database backup

Chris Lemmer

New Pleskian
Good day,

When I try an restore a backup of a MySQL database, I get the following error:

Warning: Restore domain "cycler.co.za"
Failed deployment of database bryton_web_db (domain cycler.co.za)
Warning:
Execution of /usr/local/psa/admin/plib/api-cli/database.php --update bryton_web_db -add_user backup_5ig3IK3 -type mysql -server 192.168.1.4:3306 -set-acl % -passwd '' -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create database user: Your password does not satisfy the current policy requirements

Could you please advise?

Thanks
Chris
 
1. Tools & Settings > Security > Set "Minimum password strength" to "very weak"
2. Restore the database
3. Change the settings of (1.) back to what they've previously been.
 
This is still an issue.

Even with the latest version of Plesk, I cannot restore backups.

The password policy is already on minimum.

Thanks
Chris
 
This is probably not a Plesk issue but a MySQL or MariaDB issue. Do you have password validation activated in your database? This is a plugin. If it is present, there might be a rule in your my.cnf configuration file that defines what the minimum requirements of a password are.

SQL> SHOW VARIABLES LIKE 'validate_password%';

You could remove the plugin by
SQL> uninstall plugin validate_password;

You could change the policy, too:
SQL> SET GLOBAL validate_password_policy=LOW;
or permanently in my.cnf:

[mysqld]
validate_password_policy=LOW
 
Back
Top