从头到尾读了遍phpmyadmin自带的documentation.html找到如下一段:“$cfg['PmaNoRelation_DisableWarning'] boolean
Starting with version 2.3.0 phpMyAdmin offers a lot of features to work with master / foreign – tables (see $cfg['Servers'][$i]['pmadb']).
If you tried to set this up and it does not work for you, have a look on the “Structure” page of one database where you would like to use it. You will find a link that will analyze why those features have been disabled.
If you do not want to use those features set this variable to TRUE to stop this message from appearing.
”
大概意思是说,从2.3.0版本开始,phpmyadmin为主表、外链的查看等提供了一些新特性。如果这些新特性不可用,那么就到结构页面看一下,会有一个连接指向哪些功能被禁用了;如果不想用这些功能,就把本设置设为TRUE就可以了。
所以只要在config.inc.php中加这么一行就可以了:$cfg['PmaNoRelation_DisableWarning'] = true;当然如果你想用这样一个功能,那么的确需要像网上所云建这样一个库,但我发现大都问问题的人连这个notice是啥都不知道
转载于:https://blog.51cto.com/obnus/471341