每当我尝试登录或连接到SQL命令行或SQL * Plus(11g标准版Win64)时,我都会收到错误
.spinner {
width: 100%;
height: 50px;
margin: 100px auto;
animation-name: spin;
animation-duration: 400ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
-ms-animation-name: spin;
-ms-animation-duration: 400ms;
-ms-animation-iteration-count: infinite;
-ms-animation-timing-function: linear;
-webkit-animation-name: spin;
-webkit-animation-duration: 400ms;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-moz-animation-name: spin;
-moz-animation-duration: 400ms;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@-ms-keyframes spin {
from {
-ms-transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
}
}
@-moz-keyframes spin {
from {
-moz-transform: rotate(0deg);
}
to {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
我试图用谷歌帮助解决这个问题,但我不能
所以请帮助我摆脱这个!
答案 0 :(得分:4)
您正在尝试连接到数据库v。" v"是连接标识符。但是,您的Oracle客户端不知道v。这是错误消息试图告诉您的内容。
尝试
c:>tnsping v
希望这会给你这样的东西:
C:\Users\rwe>tnsping v
TNS Ping Utility for 64-bit Windows: Version 12.2.0.1.0 - Production on 21-MAR-2018 15:49:51
Copyright (c) 1997, 2016, Oracle. All rights reserved.
Used parameter files:
C:\app\rwe\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
您可以从中提取的是位置:
C:\app\rwe\product\11.2.0\dbhome_1\network\admin\
这是您的tnsnames.ora文件所在的位置。编辑此文件并为数据库添加正确的信息v。替换Oracle数据库所在机器的服务器名称。
V =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = servername)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = V)
)
)