Hello @ahsanmani,
If you changed your database name it means you have to change it in your code too where your db name is declared.
so go to your wp root directory and find your wp-config.php file
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define( ‘DB_NAME’, ‘your_db_new_name’ );
/** MySQL database username */
define( ‘DB_USER’, ‘root’ );
/** MySQL database password */
define( ‘DB_PASSWORD’, ‘your_db_new_password’ );
I hope this helps.
Regards,
Adejoke