MarketingFans Posted February 21, 2019 Posted February 21, 2019 Hi, last night i had my WP + IP community moved to another server. WP works, but i get a 500 error on the community: https://leden.marketingfans.nl/community/ Also on the admin. The only thing that's really changed (apart form the server) is the IP address. I've checked all the '500 error' topics on this forum but this specific notice (Access denied for user...) is not discussed. Anybody know where to start looking? Thanks!
Jim M Posted February 21, 2019 Posted February 21, 2019 Check that your mysql database connection details in conf_global.php are still the same, including username/password. Please also ensure that the user has all permissions to the database.
MarketingFans Posted February 21, 2019 Author Posted February 21, 2019 Just now, Jim M said: Check that your mysql database connection details in conf_global.php are still the same, including username/password. Please also ensure that the user has all permissions to the database. I did that and they are all the same. Could permissions have changed with a 1-one-1 clone/migration?
Jim M Posted February 21, 2019 Posted February 21, 2019 22 minutes ago, MarketingFans said: I did that and they are all the same. Could permissions have changed with a 1-one-1 clone/migration? You would need to check these details with your hosting provider/server administrator.
Adlago Posted February 21, 2019 Posted February 21, 2019 Try this: In your conf_global php, you probably have 'sql_host' => 'localhost', Change it to 'sql_host' => '127.0.0.1',
MarketingFans Posted February 21, 2019 Author Posted February 21, 2019 2 hours ago, Adlago said: Try this: In your conf_global php, you probably have 'sql_host' => 'localhost', Change it to 'sql_host' => '127.0.0.1', No, unfortunately that's not it either. But thanks for the suggestion
Adlago Posted February 21, 2019 Posted February 21, 2019 See this topic https://talk.plesk.com/threads/database-migration-fails-access-denied-for-user-admin-localhost.341751/ described a similar case
bfarber Posted February 22, 2019 Posted February 22, 2019 That error message means either the username+password are incorrect, or that the user does not have access to the database . You will need to work with your host to ensure the details are correct.
MarketingFans Posted February 22, 2019 Author Posted February 22, 2019 5 minutes ago, bfarber said: That error message means either the username+password are incorrect, or that the user does not have access to the database . You will need to work with your host to ensure the details are correct. I'm on it with my host! Thanks
MarketingFans Posted February 22, 2019 Author Posted February 22, 2019 Quote Jake here, happy to help out! Yes, the database name and credentials did change when the site was moved to the new server for the Freelance plan. We just updated the database credentials in the /community/conf_global.php file, and it is now loading for us. The credentials are automatically updated in WordPress by our platform when sites are moved, but custom applications are not. Could you look at things now and let us know if they are working as expected? It's solved now. Wish they told they had changed the credentials when migrating 😞 Thanks for helping out everybody!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.