MY-SQL 썸네일형 리스트형 mysql characterset 변경 이 밑에 것이 더 확실함.http://ssppmm.tistory.com/1595 mysql> set character_set_client=utf8;mysql> set character_set_results=utf8;mysql> set character_set_connection=utf8;mysql> set character_set_server=utf8;mysql> alter database test default character set utf8;mysql> commit;mysql> status --------------/usr/bin/mysql Ver 14.14 Distrib 5.1.61, for redhat-linux-gnu (x86_64) using readline 5.1 Connection id:.. 더보기 mysql 외부 접속 설정 보통 기본설치만 한 상태면 localhost로만 접속이 가능하도록 설정이 되어있는데, 외부에서 접속이 가능하도록 설정을 바꿔보자. 여기서는 root계정을 예로 들어 설명한다. 1. mysql 접속 후 mysql database 선택 mysql> use mysql; 2. user 테이블 살펴보기 mysql> select host, user, password from user; root 의 host 값들은 localhost, 127.0.0.1 등으로 기본 등록되어 있지만, 외부접속을 나타내는 값이 없다. 특정 아이피로 지정할 수도 있지만 여기선 % 기호로 어디서든 접속 가능하게 만든다. 3. 권한 설정 mysql> grant all privileges on *.* to 'root'@'%' identified.. 더보기 MySQL 설치와 기본 명령어 정리 설치http://www.javajigi.net/pages/viewpage.action?pageId=419 http://www.javajigi.net/pages/viewpage.action?pageId=577 기본 명령어http://wiki.kwonnam.pe.kr/database/mysql/basic -> 참조 ubuntu 설치http://tiger5net.egloos.com/5662703 /etc/rc.d/init.d/mysqld start 더보기 이전 1 다음