I have an existing website with many users, from which I want to get the users data and import them in a new wp site.
What I did was create the new blog and then do a
INSERT INTO 'site2'.'wp_users'
SELECT *
FROM 'site1'.'wp_users' ;
INSERT INTO 'site2'.'wp_usermeta'
SELECT *
FROM 'site1'.'wp_usermeta';
in phpmyadmin. That works fine.
However, when I try to login, I can get past the login form but I get to see an empty page with the message:
you do not have sufficient permissions to access this page.
So I suspect there's some secret key I have to change some where else or something to have the second site work with the imported users data. Any ideas?