phpmyadmin 설치

 

phpmyadmin 설치

나는 그냥 콘솔에서 sql 문을 입력하고 하는 것이 좋았다.ㅋ

CRT의 검은 화면에 알록달록한 글자 색깔들은 개발자의 로망이 아닐까?ㅋ(나만의 생각 일 수도^^;;)

그런데 개발자가 아닌 그냥 민간인인 내동생도 db를 보여줘야 할 일이 생겨서..ㅡㅡ;

알아먹기 쉽게 설명해주기 위해 phpmyadmin를 설치 했다..

다운 : http://www.phpmyadmin.net/

phpMyAdmin-2.10.2-all-languages.tar.gz
다운받았다.ㅋ

그리고 압축을 풀었다..

libraries/config.default.php 설정파일을 열어서 설정하고

]$ vi libraries/config.default.php
$cfg['Servers'][$i]['host']          = 'xxx.xxx.xxx.xxx'; // MySQL hostname or IP address
...
$cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (valid choices: config, http, HTTP, signon or cookie)
$cfg['Servers'][$i]['user']          = 'xxxx';      // MySQL user
$cfg['Servers'][$i]['password']      = 'xxxx';          // MySQL password (only needed

apache로 vhost 도메인을 설정하고 restart !!

로그인은 등록된 mysql 계정으로 하면된다.

잘뜬다!ㅋ

 

This entry was posted in Database, PHP/ASP and tagged , , . Bookmark the permalink.

댓글 남기기