Report this

What is the reason for this report?

Ubuntu 14.04 LEMP WordPress Search and Replace Plugin error

Posted on April 29, 2014

Hello All,

Just moved to Digital Ocean and enjoying it. I am migrating my blog from LAMP to LEMP.

I have Varnish and APC running as well on my LEMP stack.

For testing purposes, I have to find and replace URLs in my wordpress database. When I try to use the Wordpress Search and Replace plugin I am getting the following error:

The inquiry could not be implemented: Access denied for user ‘www-data’@‘localhost’ (using password: NO)

For whatever reason, the plugin is not able to access the database. I would greatly appreciate if some one could help me solve it. Thanks for your time!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Is “www-data” the name of the database user in your wp-config.php? It seems to me that the plugin is assuming that the MySQL database user and the user running the Wordpress process will have the same name.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.