phpMyAdmin 4.3.7 설치

@ phpMyAdmin 설치
# cd /usr/local/src
# wget http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-4.3.7-all-languages.tar.gz
# tar xvfz phpMyAdmin-4.3.7-all-languages.tar.gz
# mv phpMyAdmin-4.3.7-all-languages phpmyadmin
# mv phpmyadmin /usr/local/apache/htdocs
# cd /usr/local/apache/htdocs/phpmyadmin
# cp config.sample.inc.php config.inc.php

vi config.inc.php

$cfg['Servers'][$i]['auth_type'] = 'cookie'; --> http 로변경 (window 보안)
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';

위 항목 주석을 푼다

에러 처리
- The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here

- pma 관련 테이블 및 계정을 추가해 준다
- phpmyadmin 폴더에 포함된 sql로 되어있는 파일 실행시킨다
2015-02-24_8-18-07.png

- 아래 스크립트를 실행한다
mysql> GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY '패스워드';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';
mysql> exit


|

댓글 7개

어.. 이파치님 무슨일 있으신가요? 홈피 접속이 안되네요?
ftp접속은 되는데 phpadmin 쪽 데이터가 오류가 있다고 하네요.
외부에 나와 있어서 손폰으로 낮에 응급조치는 했습니다...ㅠㅠ
윽.. 지금도 같은 현상이네요.. db연결오류.
현재 원인을 찾고 있습니다. DB백업후에 문제가 발생하는것 같은데... 확인후에 나누미에 공지 올리도록 하겠습니다.
$cfg['Servers'][$i]['auth_type'] = 'cookie'; --> http 로변경 (window 보안)
에서

cookie 와 http 가 어떤 차이가 있는지요?
또, http 가 더 보안에 나은지요?
한마디로 표현하면 인증 방식 차이라고 보시면 되세요.

cookie 는 브라우져 안에 로그인 ID/PW 입력 방식
http 는 브라우져 밖으로 뜨는 로그인 ID/PW 입력 방식

상세한것은
https://wiki.phpmyadmin.net/pma/Auth_types
cookie 보다는 http 방식이 보안에 효율적이라고 하더라구요.
그래서 예전에 서비스하던 대부분 호스팅업체에서 사용했다고 들었습니다.
요즘은 호스팅 패널을 많이 쓰고 있지만요....^^;;
댓글을 작성하시려면 로그인이 필요합니다. 로그인

서버관리자

서버관리자 모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
10년 전 조회 2,207
10년 전 조회 2,302
10년 전 조회 2,538
10년 전 조회 3,869
10년 전 조회 2,625
10년 전 조회 2,803
10년 전 조회 1,476
10년 전 조회 2,058
10년 전 조회 2,185
10년 전 조회 3,431
10년 전 조회 3,312
10년 전 조회 3,345
10년 전 조회 3,068
10년 전 조회 1,360
10년 전 조회 2,863
10년 전 조회 2,221
10년 전 조회 1,745
10년 전 조회 3,323
10년 전 조회 2,785
10년 전 조회 3,198
10년 전 조회 1,940
10년 전 조회 2,488
10년 전 조회 2,552
10년 전 조회 2,285
10년 전 조회 2,631
10년 전 조회 1,651
10년 전 조회 3,015
10년 전 조회 1,767
10년 전 조회 2,026
10년 전 조회 4,116
🐛 버그신고