#1142 - SELECT command denied to user ''@'localhost' for table 'pma_table_uiprefs'

后端 未结 15 846
刺人心
刺人心 2020-12-13 18:27

Hopefully someone can help me, for I have queried the web with no success or concrete answer to this error. I’m using Windows and Xampp. Here is the error I am getting aft

相关标签:
15条回答
  • 2020-12-13 18:49

    If you use XAMPP Path ( $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; ) C:\xampp\phpmyadmin\config.inc.php (Probably XAMPP1.8 at Line Number 34)

    Another Solution: I face same type problem "#1142 - SELECT command denied to user ''@'localhost' for table 'pma_recent'"

    1. open phpmyadmin==>setting==>Navigation frame==> Recently used tables==>0(set the value 0) ==> Save
    0 讨论(0)
  • 2020-12-13 18:53

    On ubuntu, try dpkg-reconfigure phpmyadmin and recreate the phpmyadmin database. I installed using ansible and this was not done.

    0 讨论(0)
  • 2020-12-13 18:54
    1. Open the config.inc.php file from C:\xampp\phpmyadmin

    2. Put the "//" characters in config.inc.php at the start of below line:

      $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

      Example: // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

    3. Reload your phpmyadmin at localhost.

    0 讨论(0)
提交回复
热议问题