Oracle安裝及使用小結

2021-08-25 09:34:38 字數 647 閱讀 2053

6.建立使用者及授權:

首先利用普通身份登入:sqlplus scott/tiger

登陸後用管理員身份連線:conn scott/tiger as sysdba

建立使用者:create user user1 indentified by user1

如果在這一步完成後就退出後登入的話,是登陸不成的:連線資料庫時出現了這種異常:

ora-01045: user ...lacks create session privilege; logon denied

意思是使用者登陸資料庫沒有建立會話許可權的意思

建立完成後需授權才能登入:grant create session to user1

如果修改某使用者密碼的話:alter user user1 identified by user2

其他許可權:

grant create user,

drop user,

alter user ,

create any view ,

drop any view,

exp_full_database,

imp_full_data dba,

connect,

resource,

create session   to sljx

xdebug安裝及使用小結

最近安裝了一下xedug,並且學習了一下如何使用。安裝xdebug的初衷是為了深入研究一下php的垃圾 機制。xdebug是乙個開放源 的php程式偵錯程式 即乙個debug工具 可以用來跟蹤,除錯和分析php程式的執行狀況。先說一下安裝吧。我使用的php版本是5.3.3,windows 32 為環...

oracle安裝及使用

安裝後資料庫 1.使用plsql開啟,一般選項 口令 自己填寫,預設表空間 users,臨時表 temp,概要檔案 default 2.物件許可權,all objects 選擇 yes 插入 yes 更新yes 刪除 yes 3.角色許可權,connect 預設v 4.預設許可權,create an...

oracle使用小結

1.儲存過程出錯 pls 00103 出現符號 在需要下列之一時 create or replace procedure udf sp tlog add in l id number,in l type number,in b id number,in l desc varchar2 200 in ...