Skip to content

2010.04.02 17:39

lower_case_table_names=1

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

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

Linux에서 Mysql 설치 시 테이블명의 대소문자를 구분하는 것이 default 이다.

 

이것을 강제적으로 대소문자 구분하지 않게 하기 위해서는

 

아래와 같이 작업하면 된다.

 

- OS ; Centos 5.x

- DBMS : MySQL 5.0.xx

- Centos 설치 시 자동으로 설치되는 MySql에서 작업을 하였음

 

/etc/ 밑에 있는 mysql 설정파일인 my.cnf 를 오픈하여

 

[mysqld] 테크 아래에

lower_case_table_names=1

를 삽입한다.

 

$>cat /etc/my.cnf

~~~~

default-character-set=euckr
init_connect="set names euckr"
character-set-client-handshake = FALSE
lower_case_table_names=1

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[client]
default-character-set=euckr

~~~~

 

설치한 후 환경변수를 확인하면 1로 변경되어 있는 것을 확인할 수 있다.

mysql> show variables like 'lower_case_table_names';
+------------------------+-------+
| Variable_name          | Value |
+------------------------+-------+
| lower_case_table_names | 1     |
+------------------------+-------+


  1. MySQL 4.1 이상에서 한글 사용

    Date2009.09.28 ByADMINPLAY Views7291
    Read More
  2. mysql 초간단 설치

    Date2009.10.15 ByADMINPLAY Views6707
    Read More
  3. mysqli 동적모듈 추가

    Date2009.11.01 ByADMINPLAY Views9403
    Read More
  4. Mysql 5.0.67 Cluster 소스설치 구성하기

    Date2009.11.19 ByADMINPLAY Views9895
    Read More
  5. HeartBeat를 이용한 MySQL HA 구성

    Date2009.11.19 ByADMINPLAY Views10348
    Read More
  6. MySQL 클러스터

    Date2009.11.19 ByADMINPLAY Views9979
    Read More
  7. Mysql Replication(Master, Slave) 설정

    Date2009.11.19 ByADMINPLAY Views9732
    Read More
  8. MySQL Replication

    Date2009.11.19 ByADMINPLAY Views8090
    Read More
  9. MySQL Replication(복제)

    Date2009.11.19 ByADMINPLAY Views7792
    Read More
  10. 리눅스를 이용한 클러스터링 구축법

    Date2009.11.19 ByADMINPLAY Views10754
    Read More
  11. Mysql bin log 로테이션 방법

    Date2009.11.26 ByADMINPLAY Views9558
    Read More
  12. MySQL 데이터 정리후에도 용량변동이 없을 경우

    Date2009.12.31 ByADMINPLAY Views8661
    Read More
  13. Starting MySQL.Manager of pid-file quit without updating fi[실패]

    Date2010.01.28 ByADMINPLAY Views19866
    Read More
  14. Redmine database를 복구 하고자 할 때

    Date2010.03.06 Byl2zeo Views15597
    Read More
  15. MySQL Error 2006 : MySQL server has gone away 해결하기

    Date2010.03.08 Byl2zeo Views12599
    Read More
  16. PHP5와 MySQL5 연동시 한글 인코딩 문제 해결방법 (UTF-8으로의 변환)

    Date2010.03.08 Byl2zeo Views12581
    Read More
  17. Another app is currently holding the yum lock; waiting for it to exit 해결법

    Date2010.03.08 Byl2zeo Views18284
    Read More
  18. MySQL 명령어 정리

    Date2010.03.08 Byl2zeo Views10212
    Read More
  19. lower_case_table_names=1

    Date2010.04.02 ByADMINPLAY Views18084
    Read More
  20. mySQL 설치

    Date2010.05.03 ByADMINPLAY Views12903
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234