관리자 메뉴에서 phpMyAdmin 접속시 에러나는 분들을 위해
phpMyAdmin-2.7.0 이상 버전은 config.inc.php 파일이 없어
#1045 - Access denied for user: 'root@localhost'; (Using password: NO)
메세지가 나옵니다.
첨부파일을 다운로드 후, 아래 경로로 업로드 합니다.
http://도메인/그누보드/adm/phpMyAdmin/config.inc.php
#1045 - Access denied for user: 'root@localhost'; (Using password: NO)
메세지가 나옵니다.
첨부파일을 다운로드 후, 아래 경로로 업로드 합니다.
http://도메인/그누보드/adm/phpMyAdmin/config.inc.php
config[1].inc.php를 config.inc.php로 반드시 변경하세요.
상세설명(rootda.org)
* 2.8.x 이전과 다소 다른 설치방법으로 인해서 어려움을 격는 이들에게 전합니다.
* 본문에서 제시한 phpMyAdmin의 버전은 게시물 작성일을 기준으로 최신이다.
2~3주에 한번 이상 phpMyAdmin의 취약점이 발견되고 새로운 버전을 배포하고 있으므로
반드시 최신 버전으로 Up To Date 를 유지하도록 한다.
phpMyAdmin 은 웹 베이스(BROWSER-BASED) MySQL 관리 도구이다.
많은 진화를 거듭한 phpMyAdmin은 2.8.x 은 다음과 같은 기능들을 가지고 있다.
* browse and drop databases, tables, views, fields and indexes
* create, copy, drop, rename and alter databases, tables, fields and indexes
* maintenance server, databases and tables, with proposals on server configuration
* execute, edit and bookmark any SQL-statement, even batch-queries
* load text files into tables
* create and read dumps of tables
* export data to CSV, XML, PDF, Word, Excel and LaTeX formats
* administer multiple servers
* manage MySQL users and privileges
* check referential integrity in MyISAM tables
* using Query-by-example (QBE), create complex queries automatically connecting required tables
* create PDF graphics of your Database layout
* search globally in a database or a subset of it
* transform stored data into any format using a set of predefined functions, like displaying BLOB-data as image or download-link
* support InnoDB tables and foreign keys (see FAQ 3.6)
* support mysqli, the improved MySQL extension (see FAQ 1.17)
* communicate in 50 different languages
다음은 cookie 인증 방식을 기준으로 설명한다.
root@rootda [~]# wget http://jaist.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.8.0.3.tar.bz2
root@rootda [~]# tar jxvf phpMyAdmin-2.8.0.3.tar.bz2
root@rootda [~]# mv phpMyAdmin-2.8.0.3/ ~rootdaorg/www/phpMyAdmin
root@rootda [/home/rootdaorg/www/phpMyAdmin]# cp libraries/config.default.php ./config.inc.php
* phpMyAdmin/scripts/setup.php 를 웹페이지에서 기본 설정이 가능하나
docs에서도 말한 것과 같이 기존에 하던 방식대로 config.inc.php를 직접 수정하는 방식으로
간단하게 설치를 마치도록 한다.
root@rootda [/home/rootdaorg/www/phpMyAdmin]# vi config.inc.php
vi 에서 config를 cookie 로 치환한다.
:%s/config/cookie/g
root@rootda [/home/rootdaorg/www/phpMyAdmin]# vi +45 config.inc.php
45 라인 정도에 있는 $cfg['blowfish_secret'] = ''; 를 다음과 같이 수정
$cfg['blowfish_secret'] = 'cookie';
http://URL/phpMyAdmin/
phpMyAdmin cookie 인증페이지가 나오면 설치는 완료된 것이다.
자신의 MySQL ID와 PASSWORD 를 입력하여 로그인을 한다.
* 본문에서 제시한 phpMyAdmin의 버전은 게시물 작성일을 기준으로 최신이다.
2~3주에 한번 이상 phpMyAdmin의 취약점이 발견되고 새로운 버전을 배포하고 있으므로
반드시 최신 버전으로 Up To Date 를 유지하도록 한다.
phpMyAdmin 은 웹 베이스(BROWSER-BASED) MySQL 관리 도구이다.
많은 진화를 거듭한 phpMyAdmin은 2.8.x 은 다음과 같은 기능들을 가지고 있다.
* browse and drop databases, tables, views, fields and indexes
* create, copy, drop, rename and alter databases, tables, fields and indexes
* maintenance server, databases and tables, with proposals on server configuration
* execute, edit and bookmark any SQL-statement, even batch-queries
* load text files into tables
* create and read dumps of tables
* export data to CSV, XML, PDF, Word, Excel and LaTeX formats
* administer multiple servers
* manage MySQL users and privileges
* check referential integrity in MyISAM tables
* using Query-by-example (QBE), create complex queries automatically connecting required tables
* create PDF graphics of your Database layout
* search globally in a database or a subset of it
* transform stored data into any format using a set of predefined functions, like displaying BLOB-data as image or download-link
* support InnoDB tables and foreign keys (see FAQ 3.6)
* support mysqli, the improved MySQL extension (see FAQ 1.17)
* communicate in 50 different languages
다음은 cookie 인증 방식을 기준으로 설명한다.
root@rootda [~]# wget http://jaist.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.8.0.3.tar.bz2
root@rootda [~]# tar jxvf phpMyAdmin-2.8.0.3.tar.bz2
root@rootda [~]# mv phpMyAdmin-2.8.0.3/ ~rootdaorg/www/phpMyAdmin
root@rootda [/home/rootdaorg/www/phpMyAdmin]# cp libraries/config.default.php ./config.inc.php
* phpMyAdmin/scripts/setup.php 를 웹페이지에서 기본 설정이 가능하나
docs에서도 말한 것과 같이 기존에 하던 방식대로 config.inc.php를 직접 수정하는 방식으로
간단하게 설치를 마치도록 한다.
root@rootda [/home/rootdaorg/www/phpMyAdmin]# vi config.inc.php
vi 에서 config를 cookie 로 치환한다.
:%s/config/cookie/g
root@rootda [/home/rootdaorg/www/phpMyAdmin]# vi +45 config.inc.php
45 라인 정도에 있는 $cfg['blowfish_secret'] = ''; 를 다음과 같이 수정
$cfg['blowfish_secret'] = 'cookie';
http://URL/phpMyAdmin/
phpMyAdmin cookie 인증페이지가 나오면 설치는 완료된 것이다.
자신의 MySQL ID와 PASSWORD 를 입력하여 로그인을 한다.
더 자세한 정보는 상단 링크를 참조한다.
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 6개
config.inc.php 파일이 없어지고,
phpmyadmin / libraries / config.default.php 파일로
파일의 위치와 파일명이 변경되었습니다..... 참고하세요........^^
저도 phpMyAdmin - 2.8.0.3 사용중인데 이상하군요.
저는 두가지 파일 다 있습니다.
phpMyAdmin/config.inc.php
phpmyadmin/libraries/config.default.php
phpMyAdmin접속시 로그인창이 나타나구요.
저는 모두 삭제하고 새로 올리는 방법으로 업데이트 하는데 설정파일찾느라고 고생좀 했습니다...^^
(사실은 index.php 파일부터시작해서 다음으로 Documentation.html 파일을 열어서 config 로 검색해서 찾으니까 경로까지 바로 찾았지만,...)
phpMyAdmin/config.inc.php 파일에서 이전버전에서처럼 설정해주시면 됩니다...^^
제가 호스팅 받는 곳이 몇개 되는데 버전별로 테스트한 결과
phpMyAdmin-2.7.0 부터 에러가 나왔습니다.
적어주신 것과 똑같은 에러가 나서 고민했는데, 좋은 정보 읽고 쉽게 문제 해결 했습니다.
아니었으면 아마도 또 오랜 시간 고생을....