2015-05-05 5 views
0

Я получаю следующее сообщение об ошибке при создании новой базы данныхОшибка Создание нового соединения с базой данных в SQL Developer

MyUserName/MyPassword, Hostname - локальный, порт - 1521, SID - ХЕ

Status : Failure -Test failed: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

+0

Можете ли вы показать, как вы создаете базу данных? –

+0

проверьте этот http://stackoverflow.com/questions/18192521/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descript и этот http://docs.oracle. com/cd/B19306_01/server.102/b14219/net12500.htm – Moudiz

+0

Вы посмотрели http://docs.oracle.com/cd/B19306_01/server.102/b14219/net12500.htm? перейдите к 12505 и попробуйте, что там сказано –

ответ

0

попробуйте это. источник от docs.oracle

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor 
Cause: 
The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a SID for an instance (usually a database instance) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener. 
Action: 
- Wait a moment and try to connect a second time. 

- Check which instances are currently known by the listener by executing: lsnrctl services <listener name> 

- Check that the SID parameter in the connect descriptor specifies an instance known by the listener. 

- Check for an event in the listener.log file. 
Смежные вопросы