// Go to wp-config.php file in WordPress root directory (your website name)
// Edit the file Or download the file
// Find :
/** The name of the database for WordPress */
define( 'DB_NAME', 'write your new database name here' );
// Save and upload the file (if you download the file) - overwrite the old one