You cannot see this page without javascript.

phpmyadmin 설정

APM 조회 수 791 추천 수 0 2013.12.27 19:17:56

1.  phpmyadmin 최신버전 다운로드  

    - www.phpmyadmin.net

 

2. 적당한 곳에 압축을 푼다

 

3. vi config.inc.php

    - $cfg['Servers'][$i]['auth_type'] = 'cookie'; --> http 로변경 (window 보안)

    -  $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]['table_uiprefs'] = 'pma_table_uiprefs';
        $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
        $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
        $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
        $cfg['Servers'][$i]['recent'] = 'pma_recent';
        위 항목 주석을 푼다

4. 에러 처리

  - The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click

 

  - pma 관련 테이블 및 계정을 추가해 준다

  - phpmyadmin 폴더에 포함된 sql로 되어있는 파일 실행시킨다

     -> mysql -uroot -ppassword <examples/create_tables.sql

  - 아래 스크립트를 실행한다  

     ->GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'password';
      ->GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';

 

- phpmyadmin 재로그인으로 확인 !!

 

5. Alias로 phpmyadmin 경로 잡기

   - vi /etc/httpd/conf/httpd.conf

      아래 문구 추가

Alias /phpmyadmin /usr/local/phpmyadmin
<Directory /var/usr/local/phpmyadmin>
    AllowOverride All
    Options Indexes
    Order allow,deny
    Allow from all
</Directory> 

 

apahce 재시작

 

 

6. #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock'; 

 

 

7.한글 언어팩

../phpmyadmin/locale/ko/LC_MESSAGES 에 이동

엮인글 :
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
369 APM mariadb download origin address LynX 2019-06-19 1989
368 APM What one can and should optimize LynX 2019-06-03 1415
367 CentOS mariadb install LynX 2019-05-31 1179
366 CentOS init mode change LynX 2019-05-30 1288
365 APM ext zip install LynX 2019-02-19 1612
364 APM ext ImageMagick install LynX 2019-02-19 511
363 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 753
362 CentOS Grub UUID change LynX 2018-08-08 867
361 Linux letsencrypt wildcard LynX 2018-07-26 798
360 Printer cura usb connection LynX 2018-07-06 666
359 CentOS cli 무선랜 LynX 2018-06-07 446
358 APM 윈도우에 APM 페키지 설치 file LynX 2018-05-04 586
357 APM MySQLTuner 설치 LynX 2018-04-27 544
356 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 699
355 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 771
354 Linux wkhtmltopdf wkhtmltoimage install LynX 2018-01-31 602
353 APM LZ4_LIBS Not Found (CentOS7, MariaDB 10.1.29) LynX 2018-01-03 485
352 APM mysql ./configure LynX 2017-12-15 804
351 APM PHP-7.2.0 LynX 2017-12-12 3157
350 Linux libiconv LynX 2017-12-08 558

XE Login