I've two wordpress websites : - One online in FTP folder "www", for this website everything's ok ! - The second website is on localhost for the moment.
I would like to put the second website on the same database that the first "coreevenuh" but with table_prefix different "wp2_" What the step I've to follow ?
I've try many options but no way...
Here are the steps I've followed:
-Download .sql local database
-Open .sql local database, change every wp_ to wp2_ , every localhost/wordpress to domainname.com (my domain name).
-Go on phpmyadmin.ovh to import my .sql, so I've every tables with wp2_
-Open config.php, change nothing from the first website online, just $table_prefix = 'wp2_';
-Upload every files on Filezilla in www2 folder.
Have I to make the Wordpress installation before or after to import .sql on phpmyadmin ?
Please tell me what I'm making wrong, I've a problem with profile when I want to connect to wp-admin...
UPDATE : My problem is "You do not have sufficient permissions to access this page." when I try to access to wp-admin
fix it :)