서보 다른 서버에있는 mysql 과   phpmyadmin을 연동 하는법!!!!!!!!!!!!!!!!!!



phpmyadmin 을 설치한후 폴더에서 config.inc.php 파일을 찾아 연다.



config.inc.php 파일이없으면 생성한다!!

config.inc.php

파일첨부


/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'cookie';

/* Server parameters */

$cfg['Servers'][$i]['host'] = '여기 AWS 의 RDS 엔드포인트를 적으면 됨';

$cfg['Servers'][$i]['user'] = 'DB 계정';

$cfg['Servers'][$i]['password'] = '비밀번호';

$cfg['Servers'][$i]['connect_type'] = 'tcp';

$cfg['Servers'][$i]['compress'] = false;

$cfg['Servers'][$i]['AllowNoPassword'] = false;


phpmyadmin 접속해서 서버아이디 비번 넣음 들어가짐!!!!



+ Recent posts