我试图获得用于在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”
以及最后一行:
当前不假脱机
答案 0 :(得分:-1)
我解决了这个问题。 我必须添加tnsnames.ora:
ORCLPDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orclpdb)
)
)