NicolasP.
Regular Pleskian
TITLE:
Wordpress "Clone this instance"
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx 17.5.3 Update #14
Centos 7.3.1611 (Core)
PROBLEM DESCRIPTION:Centos 7.3.1611 (Core)
There is an issue when I am trying to clone Wordpress to another domain.
I am getting this error:
Copying database
STEPS TO REPRODUCE:I am getting this error:
Copying database
- -- Connecting to localhost...
- mysqldump: Got error: 1045: "Access denied for user 'wordpress_g'@'127.0.0.1' (using password: YES)" when trying to connect
Just go to a domain that uses Wordpress and click clone.
And follow the instructions.
ACTUAL RESULT:And follow the instructions.
I found what causes this issue.
When the database user "Allow local connections only" is not allowed to use 127.0.0.1.
If you change it to "Allow remote connections from any host" it works
You must change it for current database user and for all database users from "Database Hosting Preferences" in Tools.
EXPECTED RESULT:When the database user "Allow local connections only" is not allowed to use 127.0.0.1.
If you change it to "Allow remote connections from any host" it works
You must change it for current database user and for all database users from "Database Hosting Preferences" in Tools.
I don't want my database users to allow remote connections.
And why Wordpress Clone needs remote connections enabled as it runs locally?
ANY ADDITIONAL INFORMATION:And why Wordpress Clone needs remote connections enabled as it runs locally?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug