P
P
pashaxp2014-09-16 11:46:05
linux
pashaxp, 2014-09-16 11:46:05

How to make phpmyadmin history work?

According to the documentation, I created a phpmyadmin database, poured the create_tables.sql dump into it from the examples folder , then inserted into config.inc.php :

$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'blabla';

/* Storage database and tables */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
$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';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';

$cfg['QueryHistoryDB'] = true;
$cfg['QueryHistoryMax'] = 100000;


After logging into phpmyadmin, the messages below disappeared that "some additional phpmyadmin functions are not configured", that is, everything is buzzing.

fc4238ec10124d2a91494f79795a95a6.jpg

I perform various actions with tables, records, delete for the test. And in the history, the pma_history table in the phpmyadmin database, only SELECTs are displayed, there are no DELETEs.

What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Grechushnikov, 2014-10-02
@maxyc_webber

phpmyadmin is wrong

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question