하나의 서버에 cpanel을 설치하고 phpMyAdmin 폴더 안에있는 config.inc.php
의 값을 변경하면 모든 4 개의 서버에서 데이터베이스를 처리 할 수 있습니다.
이 파일은 다음과 같은 내용이있을 것이다,
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
변경 user
, password
및 host
이
를 연결하는