phpmyadmin 2.11.4 안되요
centos 5.1로 웹서버 구축하는데
phpmyadmin이 안되요 페이지 접속하면 이렇게 뜹니다.
오류
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
프로세스 확인해보면 분명 띄워져 있습니다.
[root@localhost run]# ps -ef|grep mysql
root 3352 2683 0 20:23 pts/1 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe
mysql 3379 3352 0 20:23 pts/1 00:00:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
root 3471 2683 0 21:04 pts/1 00:00:00 grep mysql
[root@localhost run]#
뭐가 원인이 되는걸까요
phpmyadmin 디렉토리의 config.inc.php 파일의 내용은 이렇습니다
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
// $cfg['Servers'][$i]['controluser'] = 'root';
// $cfg['Servers'][$i]['controlpass'] = '******'; // 암호는 *처리
/* Advanced phpMyAdmin features */
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
// $cfg['Servers'][$i]['relation'] = 'pma_relation';
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
잘못된 부분 있나요?
댓글 달기