I just ran an update to Ubuntu 14.04 on my web server. It went super smooth and I thought all was well, but I just noticed the inner most pages of my Wordpress site throw an unusual error.
Access denied for user 'www-data'@'localhost' (using password: NO)
The username 'www-data' is only the linux username for apache, which is not anywhere in the website code. And all the upgrade commands were run as root as well. I am at a loss why MySQL is trying to use this user on single post pages when it is provided my correct Wordpress MySQL user by PHP and works for every other page correctly.
The biggest updates were the Ubuntu core and Apache from 2.2 to 2.4. I found this post which sounds like a similar issue, but also has no answer. (nagios mysql check using unexpected user after upgrading from ubuntu 12.04 to 14.04)
Any help/thoughts? Thank you!
0 Answers