Oracle Error ORA-01509: specified name ‘string’ does not match actual ‘string’

Oracle Error Message

ORA-01509: specified name ‘string’ does not match actual ‘string’

Reason for the Error

The database name specified in ALTER DATABASE does not match the name of the currently mounted database.

Solution

Correct the database name spelling or DISMOUNT the mounted database.