Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Remote connection in SQLplus: ORA-06401: NETCMN....
I try to connect to my database from another host using SQLplus and the
statement:
connect system/***@my.host.net:1521:mysid; but it cause only an error:
ORA-06401: NETCMN: .....
When I'm using
CONNECT
system/***@'(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=my.host.net)
(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=mysid)))'
everything is OK.
My tnsnames.ora contains:
MAIN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = my.host.net)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = mysid)
) )
![]() |
![]() |