Ubuntu 14.04 LEMP WordPress Search and Replace Plugin error

April 29, 2014 724 views
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!
1 Answer
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.
Have another answer? Share your knowledge.