zoukankan      html  css  js  c++  java
  • Wordpress转移数据表后出现"You do not have sufficient permissions to access this page"的解决方法

    根据自己的新的表前缀, 执行如下两条SQL

    UPDATE `wpen_usermeta` SET `meta_key` = REPLACE(`meta_key`, 'wp_', 'wpen_');
    UPDATE `wpen_options` SET `option_name` = 'wpen_user_roles' WHERE `option_name` = 'wp_user_roles' AND `blog_id` = 0;
    

    Execute the below queries. Modify the table prefix in the SQL according to your installation before run it.

    UPDATE `wpen_usermeta` SET `meta_key` = REPLACE(`meta_key`, 'wp_', 'wpen_');
    UPDATE `wpen_options` SET `option_name` = 'wpen_user_roles' WHERE `option_name` = 'wp_user_roles' AND `blog_id` = 0;
    
  • 相关阅读:
    CSS 基础(一)
    74.Search a 2D Matrix
    73.Set Matrix Zeroes
    66.Plus One
    64.Minimum Path Sum
    63.Unique Paths II
    62.Unique Paths
    54.Spiral Matrix
    59.Spiral Matrix II
    55.Jump Game
  • 原文地址:https://www.cnblogs.com/milton/p/4215066.html
Copyright © 2011-2022 走看看