phpMyAdmin : 연결된 테이블 작업을위한 추가 기능이 비활성화되었습니다 not OK [ Documentation

phpMyAdmin verson의 메인 페이지 에서이 오류가 발생합니다. 3.2.1deb1
연결된 테이블 작업에 대한 추가 기능이 비활성화되었습니다. 왜 여기를 클릭하십시오.
링크를 클릭하면이 보고서가 나타납니다.

$cfg['Servers'][$i]['pmadb'] ...    OK
$cfg['Servers'][$i]['relation'] ...     not OK [ Documentation ]
General relation features: Disabled

$cfg['Servers'][$i]['table_info'] ...   not OK [ Documentation ]
Display Features: Disabled

$cfg['Servers'][$i]['table_coords'] ...     not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ...    not OK [ Documentation ]
Creation of PDFs: Disabled

$cfg['Servers'][$i]['column_info'] ...  not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL query: Disabled
Browser transformation: Disabled

$cfg['Servers'][$i]['history'] ...  not OK [ Documentation ]
SQL history: Disabled

$cfg['Servers'][$i]['designer_coords'] ...  not OK [ Documentation ]
Designer: Disabled

이미 스크립트를 사용하여 테이블을 만들었습니다. pma 사용자에게 권한을 할당했습니다. 그리고 모든 것이 /etc/phpmyadmin/conf.inc.php에 설정되어 있습니다

그러나 여전히 작동하지 않습니다 … 테이블이 비어 있습니다. 나는 그들이 무언가를 가져야한다고 가정합니다. 나는 역사 기능의 관계에 관심이 있습니다. 분명히 나는 ​​문서를 읽었습니다. 다른 것이 그 값을 설정 해제하고 있습니까? 힘든가요?



답변

phpMyAdmin에서 로그 아웃하거나 세션 쿠키를 제거하고 변경 한 후에 다시로드하면됩니다.


답변

어디서나이 파일을 편집하게되었습니다.

/etc/dbconfig-common/phpmyadmin.conf

내가 triyng했던 것과 관련이 없지만이 의견을 찾았습니다.

# automatically generated by the maintainer scripts of phpmyadmin
# any changes you make will be preserved, though your comments
# will be lost!  to change your settings you should edit this
# file and then run "dpkg-reconfigure phpmyadmin"

따라서 dpkg-reconfigure phpmyadmin설치 시간에 이미 실행되었다는 사실에도 불구하고 실행했습니다. 데이터베이스를 다시 만들지 여부를 물었고 대답은 아니요였습니다.

그리고 지금

$cfg['Servers'][$i]['pmadb'] ...  OK
$cfg['Servers'][$i]['relation'] ...  OK
General relation features: Enabled

$cfg['Servers'][$i]['table_info'] ...  OK
Display Features: Enabled

$cfg['Servers'][$i]['table_coords'] ...  OK
$cfg['Servers'][$i]['pdf_pages'] ...  OK
Creation of PDFs: Enabled

$cfg['Servers'][$i]['column_info'] ...  not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL query: Enabled
Browser transformation: Disabled

$cfg['Servers'][$i]['history'] ...  OK
SQL history: Enabled

$cfg['Servers'][$i]['designer_coords'] ...  OK
Designer: Enabled

업그레이드가 아니며 테이블을 호출합니다. pma_column_info 되고 진실은 더 이상 신경 쓰지 않습니다. 적어도 내가 원했던 기능은 작동 할 것입니다


답변

phpMyAdmin에서 연결된 테이블 활성화 의 지침을 따르십시오 . 이것은 내 경우와 같은 문제를 해결했습니다!


답변

당신이 말하는 메시지가 나타나면

확인 안 됨 [문서]”

하지만 첫 번째 줄 ($cfg['Servers'][$i]['pmadb'] )에 OK라고 표시되어 있는데, phpMyAdmin URL의 브라우저 쿠키를 삭제하면 작동합니다.

나는 또한

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

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

“config”로 전환하면 사용자와 비밀번호를 설정하십시오.


답변

다음을 수행하여 문제를 해결하십시오.

1) mysql> GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';

2) mysql -uroot -p=>는 MySQL에 들어가서 scripts 명령 create_table.sql을 사용하여 데이터베이스 (phpMyAdmin)와 9 개의 모든 테이블을 생성합니다 :

mysql> CREATE DATABASE IF NOT EXISTS `phpmyadmin`
    ->   DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
mysql> USE phpmyadmin;
mysql> CREATE TABLE IF NOT EXISTS `pma_bookmark` (
    ->   `id` int(11) NOT NULL auto_increment,
    ->   `dbase` varchar(255) NOT NULL default '',
    ->   `user` varchar(255) NOT NULL default '',
    ->   `label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
    ->   `query` text NOT NULL,
    ->   PRIMARY KEY  (`id`)
    -> )
    ->   ENGINE=MyISAM COMMENT='Bookmarks'
    ->   DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

…… 그리고 다른 테이블들도.

3) mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* to 'pma'@'localhost';

4) MySQL을 다시 시작하고 웹을 열면 오류가 사라집니다.


답변

pmadb 데이터베이스의 구조를 작성해야합니다. 스크립트 디렉토리에는이를위한 create_tables.sql이 있습니다. 다른 이름을 선택하면 파일 이름에서 데이터베이스 이름도 확인하십시오.


답변

문서마다 설정 한 모든 것이 확실하지만 실제로 작동하지 않으면 정말 성가시다. 똑같은 바보 같은 문제가 발생하면

사용자 ‘pma’를 만들었지 만 ‘phpmyadmin’데이터베이스에서 select-insert-update-delete 권한을 부여하지 않았습니다. 그리고 네-이 파마가 설정 된 후에 다시 로그인해야합니다.