테스트 사이트 - 개발 중인 베타 버전입니다

phpMyadmin 웹호스팅 설정

· 19년 전 · 3137 · 1
웹호스팅에서 사용하는 phpMyadmin을 설정 하였습니다
틀리면 리플요 음 다음엔 webmail-imap 다람쥐메일 설치 할까합니다
안녕 1.2
PHP Version 5.0.4AnNyung
Linux ns.rmcobol.co.kr 2.4.31-1 #1 SMP 화 7월 12 13:59:45 KST 2005 i686
mysql-4.0.23-1
apache-1.3.33-4

/etc/my.cnf
vi my.cnf

[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
#skip-show-database <---주석 후 재시작요 /etc/init.d/mysql stop | start
skip-locking
skip-name-resolve
#skip-networking
key_buffer=256M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
myisam_sort_buffer_size = 64M
thread_cache = 8
max_connections = 100
join_buffer_size = 1M


/etc/httpd/conf/httpd.conf
vi httpd.conf
<IfModule mod_alias.c>
#
# Aliases: 필요한 만큼의 별칭을 만들어 사용한다. (제한 없음) 형식은
다음
# 과 같다. 예제) Alias 가짜이름 실제이름
#
# 가짜이름 뒤에 / 를 포함하면 아파치 서버는 URL 에도 / 이 있어야 처리
함을
# 잘 알아두자. 따라서 "/icons" 는 별칭 처리되지 않고 "/icons/"만 별
칭 처
# 리된다.
#
# 아래는 /icons/ 를 FancyIndexed directory 리스트의 별칭으로 정의했
다. 만
# 약에 FancyIndexint 을 사용하지 않는다면, 아래의 설정을 주석 처리 하
도록
# 한다.
#
Alias /icons/ "/home/httpd/icons/"

<Directory "/home/httpd/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

# 엘라이어스 mysql
Alias /mysql "/home/rmcobol/html/mysql/"

<Directory "/home/rmcobol/html/mysql/">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>


# 아래는 apache manual 을 별칭처리 한다.
Alias /ServerManual/ /usr/share/doc/apache-1.3.33/

<Directory "/usr/share/doc/apache-1.3.33/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
Deny From env=NoAccess
</Directory>
</IfModule>


/home/rmcobol/html/mysql <-- phpMyAdmin-xxx.xx.xx 설치요

vi config.inc.php

$cfg['PmaAbsoluteUri'] = ''; <-아무것도 넣지 마세요
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method
(config, http or
cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxxxx'; // MySQL
password (only needed


http://www.rmcobol.co.kr/mysql <-- root 디렉토리에서 phpMyAdmin 설치
http://xxxx.rmcobol.co.kr/mysql <-서브도메인 에서 mysql 얼라이어스 적용
http://test.rmcobol.co.kr/mysql
설정된 도메인 에서 mysql 하시면 해당 계정 로그인 하시면 됩니다
웹호스팅 업체에서 많이 사용하는 것 같아요

vi config.inc.php

$cfg['PmaAbsoluteUri'] = ''; <-아무것도 넣지 마세요
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method
(config, http or
cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL
password (only needed

<-- user
<-- password 부분은 root,password 보안상 쓰지 마시길 당부 드립니다
쓰지 않으셔도 일반,루트 계정 로그인 됩니다<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

찾고 있던 자료입니다.감사합니다.

게시글 목록

번호 제목
10156
24771
24770
24769
24768
24767
24766
10155
10148
10143
28668
10140
10139
10137
10135
10134
10133
10130
10129
10128
10127
10126
10122
10121
10117
10116
10114
10113
10102
10098
28667
10097
10095
10090
10088
10083
24761
28660
28658
10082
28655
10071
10069
28651
10060
10053
10052
28649
28644
10050
10046
24749
10040
10030
24748
10028
10016
10010
10008
10003
9999
9991
28638
9988
9987
28635
9986
9980
9975
9971
9968
9966
9965
9961
28621
9956
28619
9952
9940
24746
9939
9938
9935
9934
28618
9932
9931
9930
28617
9929
9928
28615
28614
9927
9926
9925
28613
9924
9923
9922