【内存数据库】OracleTimesten连接DSN创建用户
2014-07-23 11:39
267 查看
************************************************************************
****原文:blog.csdn.net/clark_xu 徐长亮的专栏
************************************************************************
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)
****原文:blog.csdn.net/clark_xu 徐长亮的专栏
************************************************************************
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连接方式、创建数据库用户、忘记数据库密码、用户锁定
- 使用Oracle SQLDeveloper(Oracle 11g)连接数据库并创建用户
- oracle如何创建只读用户只读另一用户的表&PLSQL 连接字符串
- oracle学习.数据库实例的用户创建以及创建连接
- Oracle sqldevelop的使用(数据即.dmp文件的导入,用户创建,创建连接)
- Oracle创建新数据库,新用户,以及连接此用户的方法心得
- oracle 用户:创建并指定表空间、授权,连接用户,删除用户,修改,解锁,加锁、
- 使用Oracle SQLDeveloper连接数据库并创建用户
- oracle断开用户连接并且重新创建用户
- 使用Oracle SQLDeveloper连接数据库并创建用户
- Oracle 内存数据库TimesTen 的jdbc连接
- 启用密码管理之前创建的用户连接Oracle报ORA-28002处理一则
- 内存数据库timesten 的两种连接方式_附带altibase_oracle的jdbc连接
- Oracle SQLDeveloper连接数据库并创建用户
- oracle 数据库的创建用户,用户解锁,给用户赋连接,资源权限的命令
- oracle的数据泵导入,导出以及创建用户及删除当前连接用户