2010년 4월 21일 수요일

Setting PHPMyAdmin

1) http://www.gilbut.co.kr/book/detailCscenterRead.asp > PHP4 무작정 따라하기 > p4util.zip 다운

 

2) p4util.zip 압축풀고  phpmyadmin.zip 압축풀어서 phpmyadmin 폴더를 C:\Program Files\Apache Group\Apache2\htdocs 안에 복사

 

3) C:\Program Files\Apache Group\Apache2\htdocs\phpmyadmin\config.inc.php 파일을 메모장으로 열고 아래부분 찾아서 아래와 같이 수정

 

$cfgServers[1]['host']          = 'localhost'; // MySQL hostname
$cfgServers[1]['port']          = '';          // MySQL port - leave blank for default port
$cfgServers[1]['socket']        = '';          // Path to the socket - leave blank for default socket
$cfgServers[1]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[1]['stduser']       = '';        

$cfgServers[1]['stdpass']       = '';          //   access to the "mysql/user" and "mysql/db" tables)
$cfgServers[1]['auth_type']     = 'config';    

$cfgServers[1]['user']          = 'root';      // MySQL user
$cfgServers[1]['password']      = '1234';  // MySQL password (only needed with 'config' auth)
$cfgServers[1]['only_db']       = '';

 

4) 브라우저 실행후 http://localhost/phpmyadmin/index.php 실행

 

 

댓글 없음:

댓글 쓰기