Reputation: 51
In Xampp phpMyAdmin, when I click on database name I'm getting an error
"#1142 SELECT command denied to user ' '@'localhost' for table pma_tracking".
What should I do in-order to rectify this error? I am using Windows 10.
Upvotes: 5
Views: 10466
Reputation: 331
I opened xampp\phpMyAdmin\config.inc.php file and found the following lines:
/* User for advanced features */\\
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
Then I observed in phpmyadmin the following tables:
DATABASE: phpmyadmin
TABLES: pma_bookmark pma_column_info pma_designer_coords pma_history pma_pdf_pages pma_recent pma_relation pma_table_coords pma_table_info pma_table_uiprefs pma_tracking pma_userconfig
I run this sql statement:
GRANT SELECT , INSERT , UPDATE , DELETE ON phpmyadmin.* TO
pma@
localhostIDENTIFIED BY ''
Upvotes: 1