Home  >  Article  >  Database  >  Ubuntu 下连接SAP后台Oracle服务器

Ubuntu 下连接SAP后台Oracle服务器

WBOY
WBOYOriginal
2016-06-07 16:59:31971browse

接着上一篇Ubuntu 10.10 安装Oracle Client,当我用 sap 当初安装时的用户sapsr3或sys 连接服务时都不能成功 。 sapsr3 是提示

接着上一篇Ubuntu 10.10 安装Oracle Client,当我用 sap 当初安装时的用户sapsr3或sys 连接服务时都不能成功 。  sapsr3 是提示 缺乏select any dictionary 权限 , sys 就提示用户密码验无效(实际上是对的),可能也是因为权限问题,不能连接。

基于这两个用户都是系统用到的,还是不直接给其添加权限了,新增一个用户比较妥当。

连到 aix 服务器

telnet 192.168.1.12

切到 Oracle 管理用户

su - oradev

sqlplus 连接到 数据库,sys 的默认密码是 system

sqlplus sys/system as sysdba

添加一个用户 hs_aws_sa 并授权

create user hs_aws_sa identified by password;

grant connect,resource to hs_aws_sa;

grant create session,dba to hs_aws_sa;

下面再用这个用户来连接,就OK了.

Ubuntu 下连接SAP后台Oracle服务器

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn