2012年8月28日星期二

解决phpmyadmin使用链接表的额外特性尚未激活的方法

解决方案:

libraries/config.default.php,将$cfg[‘PmaNoRelation_DisableWarning’]的值改为ture。

分别修改:

$cfg[‘Servers’][$i][‘pmadb’] = ”; // ‘phpmyadmin’ – see scripts/create_tables.sql

$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’] = ”;

修改为:

$cfg[‘Servers’][$i][‘pmadb’] = ‘phpmyadmin’; // ‘phpmyadmin’ – see scripts/create_tables.sql

$cfg[‘Servers’][$i][‘bookmarktable’] = ‘pma_bookmark’; // ‘pma_bookmark’

$cfg[‘Servers’][$i][‘relation’] = ‘pma_relation’; // ‘pma_relation’

$cfg[‘Servers’][$i][‘table_info’] = ‘pma_table_info’; // ‘pma_table_info’

$cfg[‘Servers’][$i][‘table_coords’] = ‘pma_table_coords’; // ‘pma_table_coords’

$cfg[‘Servers’][$i][‘pdf_pages’] = ‘pma_pdf_pages’; // ‘pma_pdf_pages’

$cfg[‘Servers’][$i][‘column_info’] = ‘pma_column_info’; // ‘pma_column_info’

$cfg[‘Servers’][$i][‘history’] = ‘pma_history’; // ‘pma_history’

$cfg[‘Servers’][$i][‘designer_coords’] = ‘pma_designer_coords’;

openwrt 6300V2 USB无法显示的问题

lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...