웹마스터 팁
page_full_width">
컴에 phpMyAdmin 깔고 원격 Mysql 관리.(이것도 팁이 되려나?)
2001.11.17 10:09
항상 많은것을 고수님들께 받기만 하는 BULHUYZIGI입니다.
이것도 팁이 되려나 모르겠습니다.
Mysql 이 DB 서버라는 것은 알고 계시죠?
또, USER 설정(HOST)부분에 % 라고 설정 되어있으면 어디서나 접속가능한것도 알고 계시죠?
만약 고정 아이피라면 % 부분을 고정아이피로 쓰셔도 됩니다.
조건사항.
서버측
MYSQL DB SERVER 설치
USER의 HOST 부분 % 로 설정 혹은 고정아이피
클라이언트측(내컴)
웹서버(apache, IIS, OmniHTTPd 등등)설치
PHP 사용가능.
phpMyAdmin 설치
설정
phpMyAdmin의 config.inc.php 편집
$cfgServers[1]['host'] = '이부분에 서버측 아이피나 도메인명을 적습니다."; // 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]['adv_auth'] = FALSE; // Use advanced authentication?
$cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = 'Mysql 아이디를 적습니다'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = 'Mysql 비밀번호를 적습니다'; //
설정은 끝났습니다.
이제 주소창에 http://localhost/phpMyadmin 으로 넣고 접속합니다.(경로는 틀려질수 있습니다.)
이렇게 하면 괜히 mysql 이 있는 서버에 phpmyadmin 안깔아도 되겠죠?
또 서버측 웹서버가 죽어도 mysql은 관리가 가능합니다.
그럼...
이것도 팁이 되려나 모르겠습니다.
Mysql 이 DB 서버라는 것은 알고 계시죠?
또, USER 설정(HOST)부분에 % 라고 설정 되어있으면 어디서나 접속가능한것도 알고 계시죠?
만약 고정 아이피라면 % 부분을 고정아이피로 쓰셔도 됩니다.
조건사항.
서버측
MYSQL DB SERVER 설치
USER의 HOST 부분 % 로 설정 혹은 고정아이피
클라이언트측(내컴)
웹서버(apache, IIS, OmniHTTPd 등등)설치
PHP 사용가능.
phpMyAdmin 설치
설정
phpMyAdmin의 config.inc.php 편집
$cfgServers[1]['host'] = '이부분에 서버측 아이피나 도메인명을 적습니다."; // 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]['adv_auth'] = FALSE; // Use advanced authentication?
$cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = 'Mysql 아이디를 적습니다'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = 'Mysql 비밀번호를 적습니다'; //
설정은 끝났습니다.
이제 주소창에 http://localhost/phpMyadmin 으로 넣고 접속합니다.(경로는 틀려질수 있습니다.)
이렇게 하면 괜히 mysql 이 있는 서버에 phpmyadmin 안깔아도 되겠죠?
또 서버측 웹서버가 죽어도 mysql은 관리가 가능합니다.
그럼...
다른 PC에서도 사용할 수 있답니다.