问题标签 [sysdba]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
8266 浏览

oracle - 如何在不干扰事务的情况下在正在运行的数据库中移动撤消数据文件?

不幸的是,当我添加空间时,一个 UNDO 数据文件放错了位置。我想将该文件移动到正确的位置。由于它是生产数据库,我不想打扰正在进行的交易。我可以在移动时使该特定撤消数据文件脱机...数据库是否可以正常工作且数据丢失为零?

Oracle 数据库版本:11.2.0.4.0

有人可以建议吗?

0 投票
1 回答
3453 浏览

sqlplus - 无法以 sysdba 身份登录 Sqlplus:“ORA-01031:权限不足”

我无法使用以下方法登录 sqlplus:

一直以来,它给了我:

如果有人可以帮助我,那就太棒了。

0 投票
0 回答
1079 浏览

database - oracle 数据库上的 ORA-12528 和 ORA-12505 错误

距离我最后一次尝试运行我在某家银行公司实习的最后一个项目已经过去一周了。

突然,我在 Eclipse 中的 webapps(java 项目)无法启动。在日志中它说它无法连接到 oracle 数据库,其中包含一些错误侦听器。所以我尝试从 sql developer 手动连接数据库。它说 ORA-12528: TNS:Listener: All Appropriate instances are blocking new connections 。

我已经阅读了一些解决方案,并尝试重新启动包括 orcl 和侦听器在内的 oracle 服务。重新启动后,错误变为 ORA-12505:TNS:listener 目前不知道连接描述符中给出的 SID。过了一会儿,它又变成了 ORA-12528。有人可以帮忙吗?请。我的论文答辩是下周。

alert_ORCL.txt 日志(SID=ORCL):

0 投票
1 回答
13302 浏览

java - 在 groovy 中获取“java.sql.SQLException: ORA-28009: connection as SYS should be as SYSDBA or SYSOPER”

代码如下 -

但我收到以下错误

如this SO answer中所述,我尝试将用户替换为“sys as sysdba” 。

我也尝试过使用

按照这里的建议

但我在这里

有什么建议么?

0 投票
3 回答
214 浏览

c++ - Keeping SYSDBA connection open in C++

Problem: I am trying to connect as "SYSDBA" and then create a user in my C++ application. The connection to SYSDBA seems to close before running the create command.

I am trying to run the following two commands:

  1. CONNECT sys/<syspassword>@<datasource> AS SYSDBA
  2. CREATE USER "<username>" PROFILE "DEFAULT" IDENTIFIED BY "<userpassword>" ACCOUNT UNLOCK

If I highlight and run the two commands in Oracle SQL Developer, everything works fine and the user is created. The connection is closed automatically and I receive a message like:

Connected

user "KYLE" created.

Connection created by CONNECT script command disconnected

When I run the commands from my C++ application, it seems that the connection is closed before command #2 is ran.

This is code I use to call the commands:

When the commands are ran in C++, I get the SQL error:

SQL Error: ORA-01031: "insufficient privileges"

Also, if I try to run one command at a time in Oracle SQL Developer, I get the same message. This leads me to think that my connection is being closed early. Is there a way to keep my connection open long enough to run the CREATE USER command?

0 投票
2 回答
596 浏览

oracle - sysdba 中的 VBScript 连接 oracle

我需要从 Vbs 连接到 Oracle 上的 sysdba。

我使用此命令连接我的数据库

但我需要连接女巫/作为 sysdba

0 投票
1 回答
179 浏览

oracle - 在没有 SYSDBA 访问权限的情况下对 Oracle ACL 文件添加权限

我正在尝试在 Apex 上使用 Restful 服务,但出现以下错误:

未经授权的网址

我之前通过创建 ACL 文件、添加 RESTful 服务的 URL 和向APEX_PUBLIC_USER. 但是这一次,我没有作为 DBA 的访问权限,并且目前没有与有访问权限的人进行交流,因此我正在尝试找到解决方法,或者寻找另一种方式来使用 Web 服务而不会收到错误。

您知道一种无需获得未经授权的 URL 即可使用 restful/web 服务的方法吗?

  • 请记住,我无权访问 SYS,因为它是一个共享数据库,只能访问我的容器,而 USER 没有 SYSDBA 权限。

  • 该应用程序托管在云中,我们无法访问操作系统或数据库,只能使用APEX_PUBLIC_USER 帐户访问 APEX 上的 SQL Workshop

感谢您的回答。

0 投票
2 回答
1458 浏览

database - 为什么很多表ORACLE默认12c?

创建一个新的数据库(基础和高级),这是我第一次接触Oracle,我不知道为什么在只想创建一个空的关系数据库时会有这么多的表、触发器、视图和其他对象。

有没有其他方法可以做到这一点,或者我错过了什么?

谢谢你。

捕获:

默认表

0 投票
1 回答
871 浏览

database - ORCL数据库默认表的作用是什么

我在 SQL Developer 中安装了 oracle 10g 软件并连接到 ORCL 数据库。当我展开表格部分时,我会看到很多表格,如下图所示。这些桌子是干什么用的?如何创建没有这些表的数据库?

在此处输入图像描述

0 投票
1 回答
1323 浏览

python - 作为 SYS 的 Django Oracle 连接应为 SYSDBA 或 SYSOPER

我正在尝试为 Django 使用 Oracle 数据库。Oracle DB 处于活动状态,我可以连接 SQLDeveloper。但无法从 Django 连接到 Oracle DB。我收到了这个错误:

我在 SQLDeveloper 中使用连接类型 = 基本,角色 = SYSDBA。在 Django 中哪里给出这个参数?

我当前的 setting.py 参数: