【内存数据库】OracleTimesten连接DSN创建用户
1. 启动开启
[tt@host2 info]$ ttDaemonAdmin -start -force
/home/tt/TimesTen/tt1122/info/timestend.pid file exists, attempt start due to -force option.
TimesTen Daemon startup OK.
2. 加入測试使用DSN: test_1122
Vi Info/sys.odbc.ini
test_1122=TimesTen 11.2.2 Driver
[test_1122]
Driver=/home/tt/TimesTen/tt1122/lib/libtten.so
DataStore=/home/tt/TimesTen/tt1122/info/DemoDataStore/test_1122
PermSize=40
TempSize=32
PLSQL=1
DatabaseCharacterSet=US7ASCII
3. 连接test_1122
[tt@host2 info]$ ttIsql test_1122
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
4. 创建用户
Command> create user scott identified by tiger;
User created.
Command> grant create table to scott;
Command> grant connect to scott;
Command> grant create view to scott;
Command> grant dba to scott;
15111: Invalid privilege: DBA. Roles are not supported.
The command failed.
5. 给cache group管理权限
Command> grant create session,admin,cache_manager to scott;
15140: GRANT failed: User SCOTT already has system privilege CREATE SESSION
The command failed.
Command> grant admin,cache_manager to scott;
connect "DSN=test_1122";
Connection successful: DSN=test_1122;UID=tt;DataStore=/home/tt/TimesTen/tt1122/info/DemoDataStore/test_1122;DatabaseCharacterSet=US7ASCII;ConnectionCharacterSet=US7ASCII;DRIVER=/home/tt/TimesTen/tt1122/lib/libtten.so;PermSize=40;TempSize=32;TypeMode=0;
(Default setting AutoCommit=1)
- 【内存数据库】OracleTimesten连接DSN创建用户
- Oracle中管理用户(创建用户,用户加锁,用户解锁,修改用户密码,授权登录权限,撤销登录权限,授权连接权限,conn命令,创建角色,并为角色赋权限,将角色赋给指定用户)
- 使用Oracle SQLDeveloper连接数据库并创建用户
- 使用Oracle SQLDeveloper连接数据库并创建用户
- Oracle 12C 创建用户连接pdb
- 使用Oracle SQLDeveloper(Oracle 11g)连接数据库并创建用户
- oracle 数据库的创建用户,用户解锁,给用户赋连接,资源权限的命令
- oracle学习.数据库实例的用户创建以及创建连接
- oracle断开用户连接并且重新创建用户
- oracle如何创建只读用户只读另一用户的表&PLSQL 连接字符串
- oracle 用户:创建并指定表空间、授权,连接用户,删除用户,修改,解锁,加锁、
- oracle学习.数据库实例的用户创建以及创建连接
- 使用Oracle SQLDeveloper连接数据库并创建用户
- oracle的数据泵导入,导出以及创建用户及删除当前连接用户
- 使用Oracle SQLDeveloper连接数据库并创建用户
- Oracle 内存数据库TimesTen 的jdbc连接
- 启用密码管理之前创建的用户连接Oracle报ORA-28002处理一则
- 内存数据库timesten 的两种连接方式_附带altibase_oracle的jdbc连接
- Oracle sqldevelop的使用(数据即.dmp文件的导入,用户创建,创建连接)
- Oracle SQLDeveloper连接数据库并创建用户