phpmyadmin 에 로그인 했을 경우 아래와 같은 경고 문구가 나타난다.
The configuration file now needs a secret passphrase (blowfish_secret). |
-------------------------------------------------------------------
phpmyadmin 환경설정파일 경로
/usr/local/apache/htdocs/phpmyadmin/libraries/config.default.php 이 파일을 아래 경로와 파일명으로 복사해서
/usr/local/apache/htdocs/phpmyadmin/config.inc.php
-------------------------------------------------------------------
phpMyAdmin 인증방식 - cookie
# vi config.inc.php 64 /** 65 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If 66 * at least one server configuration uses 'cookie' auth_type, enter here a 67 * pass phrase that will be used by blowfish. The maximum length seems to be 46 68 * characters. 69 * 70 * @global string $cfg['blowfish_secret'] 71 */ 72 $cfg['blowfish_secret'] = 'cookie'; /** 164 * Authentication method (valid choices: config, http, signon or cookie) 165 * 166 * @global string $cfg['Servers'][$i]['auth_type'] 167 */ 168 $cfg['Servers'][$i]['auth_type'] = 'cookie'; 169 170 /** 171 * File containing Swekey ids and login names (see /contrib); 172 * leave empty to deactivate Swekey hardware authentication 173 * 174 * @global string $cfg['Servers'][$i]['auth_swekey_config'] 175 */ 176 $cfg['Servers'][$i]['auth_swekey_config'] = ''; 177 178 /** 179 * MySQL user 180 * 181 * @global string $cfg['Servers'][$i]['user'] 182 */ 183 $cfg['Servers'][$i]['user'] = 'root'; or $cfg['Servers'][$i]['user'] = ''; - 사용자 입력 184 185 /** 186 * MySQL password (only needed with 'config' auth_type) 187 * 188 * @global string $cfg['Servers'][$i]['password'] 189 */ 190 $cfg['Servers'][$i]['password'] = 'flsnrtm'; or $cfg['Servers'][$i]['password'] = ''; - password 입력 # /usr/local/apache/bin/apachectl restart |