bytesource Posted September 16, 2014 Share Posted September 16, 2014 Hi, In the course of moving my local Processwire installation from Bitnami to a classic Lamp stack, I installed Processwire 2.5 using the installed, and logged in at http://localhost/sovonex/processwire/admin to check that everything worked. Then I replaced the /assets/, /templates/, and /modules/ folders of the fresh install with my own folders, and imported my database. On page reload I got an internal server error, and the log showed the following error message: 2014-09-16 16:26:27 ? http://localhost/?/%C2'> Error: Exception: SQLSTATE[28000] [1045] Access denied for user ' www-data'@'localhost' (using password: NO) (in /var/www/html/sovonex/wire/core/ProcessWire.php line 147) Assuming there might be a bug in Proccesswire 2. 5, I deleted all files of the fresh install, moved over all of my files, and updated the database credentials. I also deleted the Modules* cache files, as suggested in the upgrade instructions. Still I received the same error message. I know there are similar posts on this forum, but I could not find a fix to this problem. Therefore, any suggestions are highly welcome! Cheers, Stefan Link to comment Share on other sites More sharing options...
cstevensjr Posted September 16, 2014 Share Posted September 16, 2014 MySQL user needs proper access 1 Link to comment Share on other sites More sharing options...
WillyC Posted September 16, 2014 Share Posted September 16, 2014 Access denied for user ' www-data'@'localhost' (using password: NO) u.looks here /site/config.php see buttock whare $config->dbUser $config->dbPass 3 Link to comment Share on other sites More sharing options...
pwired Posted September 16, 2014 Share Posted September 16, 2014 Multiple posts and answers already in the forum. Link to comment Share on other sites More sharing options...
bytesource Posted September 16, 2014 Author Share Posted September 16, 2014 @cstevensjr, WillyC Thanks for pointing me to the source of the problem! And of course you were right, I had a typo in my DB credentials. To be honest, I should have stumbled about this myself, so I apologize for bothering you. @pwired I made it a habit to go through the forum posts first before asking a question. In this case I searched for SQLSTATE[28000] but could not find any solution that fit my problem. At least that is what I thought. Link to comment Share on other sites More sharing options...
Joss Posted September 16, 2014 Share Posted September 16, 2014 Actually, it is fine asking similar or repetitive questions - it is difficult to know exactly what to search for sometimes and having multiple versions of a question on a forum make it more likely people can find the right answer. So, no problems, mate. 3 Link to comment Share on other sites More sharing options...
kongondo Posted September 16, 2014 Share Posted September 16, 2014 ........I made it a habit to go through the forum posts first before asking a question. In this case I searched for SQLSTATE[28000] but could not find any solution that fit my problem. At least that is what I thought. The only search engine for this forum you' ll ever need 2 Link to comment Share on other sites More sharing options...
bytesource Posted September 17, 2014 Author Share Posted September 17, 2014 @kongondo Using Google site search is a great idea! I will try it out on my next question. Cheers, Stefan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now