IBM U2 (UniVerse 10.2) - 创建模式 - 如何

发布于 2024-07-09 16:19:54 字数 287 浏览 7 评论 0原文

我们有一个传统的 UV 帐户。 数据文件在一个目录中,应用程序和文件都在一个目录中。 另一个目录中的子例程。 我们最新的项目正在实现 JDBC,为了从 java 完全访问子例程,我相信我需要在现有的 uv 帐户上创建一个模式。

我怎样才能做到这一点? 我尝试以 uvadm 身份登录并创建一个架构。 得到以下错误:

创建架构测试; UniVerse/SQL:“uvadm”不是 SQL 用户。

有人可以帮忙吗?

We have a traditional UV account. Data files in one directory, application programs & subroutines in another directory. Our latest projects is implementing JDBC and in order to fully access the subroutines from java, I belive I need to create a schema on the existing uv account.

How can I do this? I tried logging in as uvadm and create a schema. Get the following error:

CREATE SCHEMA TEST;
UniVerse/SQL: "uvadm" is not an SQL user.

Can anyone help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

明月夜 2024-07-16 16:19:54

根据文档,他们都是管理员,但 UniVerse 管理员只是对创建中使用的底层文件(uvadm 和/或 root)具有读/写权限的人。

UniVerse 管理员是谁?


执行大多数管理任务,您
必须以 UniVerse 身份登录
行政人员。 在 UNIX 系统上,
UniVerse 管理员必须以以下身份登录
root 或作为 uvadm。 在 Windows 系统上,
UniVerse 管理员必须以以下身份登录
管理员组的成员。
然后您可以使用 UniVerse Admin 并
UniVerse 管理命令
执行 UniVerse 管理。

但是,UniVerse SQL 管理员是对CATALOG拥有读/写权限的人。 如果您无法创建目录,可能是因为您对所在目录没有读写权限,因为目录只是一个文件。

They're both admin, per the docs, but a UniVerse Admin is simply someone who has r/w perms on the underlying files used in creation (uvadm and/or root).

Who Is a UniVerse Administrator?

To
perform most administration tasks, you
must be logged on as a UniVerse
Administrator. On UNIX systems,
UniVerse administrators must log on as
root or as uvadm. On Windows systems,
UniVerse administrators must log on as
a member of the Administrators group.
You can then use UniVerse Admin and
UniVerse administration commands to
perform UniVerse administration.

However, a UniVerse SQL admin is the person who has read/write permissions on the CATALOG. If you can't create a catalog it is probably because you don't have r/w perms on the directory you're in, because the catalog is just a file.

原谅过去的我 2024-07-16 16:19:54

当您安装 UniVerse 时,您说 uvsql 的所有者是谁 - uvadm 还是 root? 我知道解决此问题的唯一方法是重新安装以允许回答 uvadm,以便 SQL 中的所有文件都将正确设置和编目。

When you installed UniVerse, who did you say the owner of uvsql is - uvadm or root? The only way I know to resolve this problem is to go through a reinstallation to allow answer uvadm so all the files within SQL will be setup and cataloged properly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文