5

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.

Muhammad Usman
  • 1,403
  • 13
  • 24

3 Answers3

29

enter image description here

Click on this. That will fix the issue.

Rana Nadeem
  • 1,115
  • 1
  • 9
  • 17
8

try to change address from localhost to 127.0.0.1

kanguurek
  • 87
  • 1
  • 4
1
  1. 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'] = '';

  2. 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

  3. I run this sql statement:

    GRANT SELECT , INSERT , UPDATE , DELETE ON phpmyadmin.* TOpma@localhostIDENTIFIED BY ''

Alex Efimov
  • 3,335
  • 1
  • 24
  • 29