메뉴 건너뛰기

조회 수 5544 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

① 테이블 구조 정보

show create table TABLE_NAME;


② MySQL 서버 호스트에 있는 데이터베이스를 나열

show databases;


③ 서버 상태 정보

show status;


④ 테이블 정보 확인

show table status;


[예]

array(36) {
 [0]=> string(9) "acc_visit" ["Name"]=> string(9) "acc_visit"
 [1]=> string(6) "MyISAM" ["Engine"]=> string(6) "MyISAM"
 [2]=> string(2) "10" ["Version"]=> string(2) "10"
 [3]=> string(7) "Dynamic" ["Row_format"]=> string(7) "Dynamic"
 [4]=> string(1) "8" ["Rows"]=> string(1) "8"
 [5]=> string(2) "41" ["Avg_row_length"]=> string(2) "41"
 [6]=> string(3) "332" ["Data_length"]=> string(3) "332"
 [7]=> string(15) "281474976710655" ["Max_data_length"]=> string(15) "281474976710655"
 [8]=> string(4) "2048" ["Index_length"]=> string(4) "2048"
 [9]=> string(1) "0" ["Data_free"]=> string(1) "0"
 [10]=> string(2) "45" ["Auto_increment"]=> string(2) "45"
 [11]=> string(19) "2011-06-09 00:49:51" ["Create_time"]=> string(19) "2011-06-09 00:49:51"
 [12]=> string(19) "2011-06-09 00:49:51" ["Update_time"]=> string(19) "2011-06-09 00:49:51"
 [13]=> NULL ["Check_time"]=> NULL
 [14]=> string(15) "euckr_korean_ci" ["Collation"]=> string(15) "euckr_korean_ci"
 [15]=> NULL ["Checksum"]=> NULL
 [16]=> string(0) "" ["Create_options"]=> string(0) ""
 [17]=> string(0) "" ["Comment"]=> string(0) ""
}


  1. 테이블 타입(Heap, MyIsam, InnoDB...) 변경하기

    Date2017.04.12 Views5290
    Read More
  2. MySQL 쿼리 결과 값 세로로 보기

    Date2017.04.12 Views6064
    Read More
  3. MySQL root 패스워드 분실시

    Date2017.04.12 Views5273
    Read More
  4. MySQL 에서 랜덤(random)으로 레코드 읽어오기

    Date2017.04.12 Views5734
    Read More
  5. MySQL 손상된 테이블 복구

    Date2017.04.12 Views5337
    Read More
  6. [MySQL] 백업 및 복구

    Date2017.04.12 Views5400
    Read More
  7. MySQL의 alter table 명령어 모음

    Date2017.04.12 Views5110
    Read More
  8. mySQL 에서 날자표현 방법

    Date2017.04.12 Views5372
    Read More
  9. MySQL에서 원격 IP 접속 허용하기

    Date2017.04.12 Views5636
    Read More
  10. MySQL에서 사용자 권한 주기 (grant 명령어)

    Date2017.04.12 Views5899
    Read More
  11. MySQL 계정생성하기

    Date2017.04.12 Views5025
    Read More
  12. 실수로 삭제한 mysql DB 복구방법

    Date2017.04.12 Views7330
    Read More
  13. IN 연산자

    Date2016.12.23 Views5820
    Read More
  14. 필드 변경, 추가, 삭제

    Date2016.12.23 Views6092
    Read More
  15. 데이타베이스 또는 테이블 정보

    Date2016.12.23 Views5544
    Read More
  16. 테이블 복사, 테이블 비우기

    Date2016.12.23 Views5796
    Read More
  17. IMPORT

    Date2016.12.23 Views5462
    Read More
  18. 덤프할때 한글깨짐 해결

    Date2016.12.23 Views5643
    Read More
  19. Create Procedure

    Date2016.12.23 Views6024
    Read More
  20. 테이블 체크, 백업

    Date2016.12.23 Views7488
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved