Skip to content

Commit 7d43633

Browse files
authored
fix pma tables
change prefix pma tables - pma_ to pma__. After install and first login to phpmyadmin i can't open any table. After change prefix in config it works. more info http://stackoverflow.com/a/20731569/7363457
1 parent 64e6fa8 commit 7d43633

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

install/debian/8/pma/config.inc.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ function check_file_access($path)
7676
$cfg['Servers'][$i]['controlpass'] = $dbpass;
7777
/* Optional: Advanced phpMyAdmin features */
7878
$cfg['Servers'][$i]['pmadb'] = $dbname;
79-
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
80-
$cfg['Servers'][$i]['relation'] = 'pma_relation';
81-
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
82-
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
83-
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
84-
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
85-
$cfg['Servers'][$i]['history'] = 'pma_history';
86-
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
87-
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
88-
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
89-
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
90-
$cfg['Servers'][$i]['recent'] = 'pma_recent';
79+
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
80+
$cfg['Servers'][$i]['relation'] = 'pma__relation';
81+
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
82+
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
83+
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
84+
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
85+
$cfg['Servers'][$i]['history'] = 'pma__history';
86+
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
87+
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
88+
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
89+
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
90+
$cfg['Servers'][$i]['recent'] = 'pma__recent';
9191

9292
/* Uncomment the following to enable logging in to passwordless accounts,
9393
* after taking note of the associated security risks. */

0 commit comments

Comments
 (0)