phpmyadmin 설치 후 설정
phpmyadmin 설치후 각종 오류메시지 처리를 위해.
config.sample.inc.php 를 config.inc.php 로 복사 후 편집해주기.
Archive for March, 2010
phpmyadmin 설치후 각종 오류메시지 처리를 위해.
config.sample.inc.php 를 config.inc.php 로 복사 후 편집해주기.
mysql 설정파일인
/etc/my.cnf 파일에 아래 내용을 추가한다.
[client]
default-character-set = utf8
[mysqld]
character-set-client-handshake=FALSE
init_connect=”SET collation_connection = utf8_general_ci”
init_connect=”SET NAMES utf8″
default-character-set = utf8
character-set-server = utf8
collation-server = utf8_general_ci
[mysqldump]
default-character-set = utf8
[mysql]
default-character-set = utf8
- apache 설치
#apt-get install apache2
- mysql 인증 모듈
#apt-get install libapache2-mod-auth-mysql
– mysql 설치
#apt-get install mysql-server mysql-client
- php 설치
#apt-get install php5-common php5 libapache2-mod-php5
- mysql과 연동하기 위한 모듈
#apt-get install php5-mysql
- 아파치 웹서버를 재시작
#/etc/init.d/apache2 restart
- mysql 작동확인
#netstat -tap | grep mysql