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

后端 未结 15 971
刺人心
刺人心 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:35

    Another option is to disable this functionality. If we allow access on the server only for reading Disable pmadb

    1. add config for server
    $cfg['Servers'][$i]['userconfig'] =false;
    $cfg['Servers'][$i]['pmadb'] = false;
    $cfg['Servers'][$i]['bookmarktable'] = false;
    $cfg['Servers'][$i]['relation'] = false;
    $cfg['Servers'][$i]['table_info'] = false;
    $cfg['Servers'][$i]['table_coords'] = false;
    $cfg['Servers'][$i]['pdf_pages'] = false;
    $cfg['Servers'][$i]['column_info'] = false;
    $cfg['Servers'][$i]['history'] = false;
    $cfg['Servers'][$i]['table_uiprefs'] = false;
    $cfg['Servers'][$i]['tracking'] = false;
    $cfg['Servers'][$i]['designer_coords'] = false;
    $cfg['Servers'][$i]['userconfig'] = false;
    $cfg['Servers'][$i]['recent'] = false;
    
    1. and refresh session (private tab browser or other)

提交回复
热议问题