WP : Admin log impossible

event 20 Juin 2017 account_circle Nicolas
label_outline SQL WordPress

If you are changing table prefixes for a site, then remember to alter the table prefix in the usermeta tables as well. This will allow the new site to properly recognize user permissions from the old site.

UPDATE `newprefix_usermeta` SET `meta_key` = REPLACE( `meta_key` , 'oldprefix_', 'newprefix_' );

Requête complémentaire

UPDATE `newprefix_options` SET `option_name` = REPLACE( `option_name` , 'oldprefix_', 'newprefix_' );