-2

我试图在 Oracle DB 18c 中设置示例模式 HR 以进行测试,但出现错误。

specify password for SYS as parameter 4: 
Enter value for 4: Pass1
SP2-0606: Cannot create SPOOL file "Pass1/hr_main.log" 
PL/SQL procedure successfully completed.

User created. 
User alerted. 
User alerted. 
Grand succededd.
Grand succededd. 
... 
Commennt created. 
Commit complete. 
PL/SQL procedure successfully completed.
not spooling currently

任何人都知道如何解决它?在第三行:

SP2-0606:无法创建 SPOOL 文件“Pass1/hr_main.log”

在最后一行:

当前不假脱机

4

1 回答 1

-1

我解决了这个问题。我必须在 tnsnames.ora 中添加:

ORCLPDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orclpdb)
)
)
于 2019-01-10T22:45:18.807 回答