If you face the issue that you cannot connect to the database with M_SYS user after Oracle Database version 19c upgrade, create the missing grant as follows:
-
Open a Command Prompt window.
-
Launch SQL*Plus and connect sys as sysdba.
-
Perform this command to create the grant:
Grant all on dba_global_context to m_sys;