본문 바로가기 메뉴 바로가기

DB스토리

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

DB스토리

검색하기 폼
  • 분류 전체보기 (121)
    • DataBase (101)
      • Oracle (82)
      • Postgresql (10)
      • MS_SQL (6)
      • MY_SQL (4)
      • SQL (3)
    • Google Analytics (0)
    • VB.NET (2)
    • LInux (1)
    • 잡다정보 (18)
  • 방명록

DataBase (101)
oracle service 등록

root에서 아래 부분 복사해서 붙이면 됨 rm -f /etc/init.d/oracle cat >> /etc/init.d/oracle/u01/app/oracle/product/10.2.0/db_1/log/Log.oracleStartAll.log su - oracle -c "/u01/app/oracle/product/10.2.0/db_1/bin/sqlplus / as sysdba

DataBase/Oracle 2012. 10. 17. 11:41
오라클 스크립트 oracle.sh

/home/oracle 폴더에 log 폴더 만들어서 log 파일은 /home/oracle/log 폴더에 생기도록 하였습니다. oracle.sh 본문 내용. date>>/home/oracle/log/oracle.$1.log if [ $1 = start ] ; then lsnrctl start>>/home/oracle/log/oracle.start.log sqlplus / as sysdba /home/oracle/log/oracle.start.log startup EOF isqlplusctl start>>/home/oracle/log/oracle.start.log emctl start dbconsole>>/home/oracle/log/oracle.start.log elif [ $1 = status ] ; t..

DataBase/Oracle 2012. 10. 17. 11:40
Archive mode 끄고 켜기

archiveMode.sh작동은 되나 마음에 안드는 코드임. pl/sql문으로 작성해서 실행시 immediate 부분 에러남.PLS-00103: Encountered the symbol "IMMEDIATE" when expecting one of the following: := . ( @ % ; if [ $1 = start ] ; then sqlplus / as sysdba

DataBase/Oracle 2012. 10. 17. 11:36
my sql 외부접속권한

로컬에서 접속 후 GRANT ALL PRIVILEGES ON *.* TO 계정명@"접속할IP" IDENTIFIED BY '계정비밀번호'; 이렇게 하면 외부에서도 접속이 된다.

DataBase/MY_SQL 2012. 8. 21. 19:26
이전 1 ··· 11 12 13 14 15 16 17 ··· 26 다음
이전 다음
반응형
최근에 올라온 글
Total
Today
Yesterday
TAG
  • Managing Schema Objects
  • 투싼
  • postgresql pg_stat_activity
  • SQLPlus
  • 리눅스
  • 아이폰
  • Flashback
  • 오라클
  • parameter
  • 출시일
  • tablespace
  • MS-SQL
  • linux
  • recovery
  • postgresql jsonb index
  • 갤럭시S
  • Backup
  • oracle
  • query 잘림
  • PostgreSQL
  • 아이폰4
  • 한글
  • index
  • postgresql jsonb
  • PL/SQL
  • iPhone
  • 윈도우
  • iOS5
  • 독도
  • 인덱스
more
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바