sitelink1 | http://phpmyadmin.sourceforge.net/ |
---|---|
sitelink2 | |
extra_vars5 | |
extra_vars6 |
phpMyAdmin 2.7.0-pl2 버전과 phpMyAdmin_2.11.2_all_languages 버전 두가지가 있다.
둘다 설치 및 사용법은 같으나 인터페이스에서 약간 차이가 난다.
버그 및 기능을 생각한다면 최신 버전이겠지만 일반적인 용도로는 구버전도 상관없을 것 같다.
설정방법은 동일하다.
압축을 풀어 웹 어플리케이션 Document루트에 복사한 후, 폴더내의 config.default.php 를 수정한다.
(존재하지 않는다면 config.sample.inc.php 파일이 존재 할 것이다. 이를 이름을 바꿔 복사한다.)
파일을 열어 다음 내용을 확인한다.
$cfg['Servers'][$i]['controluser'] = 'root'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '비밀번호'; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '비밀번호'; // MySQL password (only needed
어렵지 않은 영어이니 대충 알아먹을 거라 생각한다.
당연히 MySQL의 root 비밀번호를 변경하게 되면 config.default.php 파일내의 root 의 비밀번호도 변경해 주어야 접속이 가능하다.
주의할 점은 MySQL에서 사용자의 정보 (권한 또는 비밀번호)를 변경하게 되면 flush privileges; 명령어로 반드시 MySQL의 환경정보를 갱신해줘야 한다는 것이다.
최신버전의 phpMyAdmin 을 다운받으려면 사이트링크#1 을 방문하기 바란다.