Oracle® Database 11g / 12c / 18c error codes ORA-01161: database name [string] in file header does not match given name of [string]
ORA-01161: database name [string] in file header does not match given name of [string]
Oracle Error Code: ORA-01161
Cause: The database name given at the command line does not match the database name found in the file header.
Action: Chance are good that the database name specified at the command line is incorrect. Resolve the descepency, and resubmit the command. If you are attempting to change the database name, be sure to use the SET DATABASE option.