用PL/SQL Developer连接虚拟机上的oracle的时候 出现listener does not currently know of service requested in connect descriptor错误,网上修改tnsnames.ora的方法并未奏效,现列出我的解决方案
cmd输入
sqlplus sys/sys as sysdba;
startup nomount;
alter database mount;
alter database open;
完成