[MYSQL]phpmyadmin 관리자 페이지에 암호걸기

phpmyadmin 을 특정 디렉토리에 설치하고..
config.inc.php 파일을 열어보면.

$cfg['Servers'][$i]['auth_type']=’http’; // Authentication method (config, http or cookie based)?
디폴트는 config로 되어 있는데.. 인증 없이 그러면 바로 들어갈수 있다.

$cfg['Servers'][$i]['user']=’root’; // MySQL user

$cfg['Servers'][$i]['password']=’루트계정비번’;// MySQL password (only needed // with ‘config’ auth_type)

mysql 4.01 버전은 좀 틀린데 아래와 같다.

$cfgServers[1]['adv_auth'] = TRUE;
// Use advanced authentication?

$cfgServers[1]['stduser'] = ‘root’;
// MySQL standard user (only needed with advanced auth)

$cfgServers[1]['stdpass'] = ‘루트비번’;
// MySQL standard password (only needed with advanced auth)

Comments

Powered by Facebook Comments

댓글 남기기

당신의 이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.

*

다음의 HTML 태그와 속성을 사용할 수 있습니다: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>