Wordpress isnt loaded after changing MySQL password?

Hi everyone,

I just changed mysql password of db user (in wp-config file) I tried with both ways: admin tool, sql command with PASSWORD(‘mypassword’) then after that my wp doesnt work anymore. It said as the following quote So what is the problem and how can i fix it? Thank you.

 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 * @package WordPress

 * Tells WordPress to load the WordPress theme and output it.
 * @var bool
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


Usually this would happen with Apache and PHP when there is no PHP handler installed.

For example, you could use the libapache2-mod-php package for that:

apt install libapache2-mod-php

For more information, you can follow the steps here:



This comment has been deleted