sqlplus 控制台连接数据库

tnsname.ora
eisdev2=
  (DESCRIPTION =   
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.240.151)(PORT = 1521))
    (
CONNECT_DATA =
(SERVICE_NAME=eisdev2)
    )
)

然后在控制台输入

sqlplus  username/password@eisdev2

你可能感兴趣的:(sqlplus)