localhost/misconce/wp-login.php = takes me to the login for my online site.
That is normal. Because in database the website’s url is of live website. You have two issues. First is taking a pure mirror copy of live website to localhost :
What you will do is :
1. Install the same version WordPress of that live site on XAMPP. Its a fresh installation.
2. Download wp-content and wp-uploads folder from live website. Delete the point (1)’s those two folders and replace them with your these downloaded folder.
3. Login to your live website’s PHPMyAdmin and take back of the needed database tables. Method is same as I described here before – http://wordpress.org/support/topic/migration-to-plesk-gone-wrong?replies=2#post-3506688
4. So you are replacing your localhost’s few tables with Live website’s one.
5. Login and set the permalink as you need. Permalink actually does not matter.
Your second issue is with MySQL database username-password in XAMPP. Create a new database with unique username and password from XAMPP’s PHPMyAdmin. There is no need to Edit the wp-config separately, simply put the uncompressed new WordPress in a new folder like :
C:\xampp\htdocs\misconce1
When you will point towards C:\xampp\htdocs\misconce in browser, automatically a wp-config file will be created.
Thank you very much!
I will work through the above a little later on today.
Jane
It’s almost working!
http://i47.tinypic.com/2mi1aq1.jpg
I forgot to add a password when I created the new database misconce1; so how do I that?
Seems like I need it for …
/** MySQL database username */
define(‘DB_USER’, ‘root’);
/** MySQL database password */
define(‘DB_PASSWORD’, ”);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
Will I use the username ‘root’ to enter the WP site?
BTW I did check on the Internet to see how to do this but only found how to do it for the whole mysql datatbase and not for separate databases. But maybe that’s how it works?
Thanks,
Jane
In case the above is not clear enough ..
I can get to the WP login page without any problems and I can get to the database, no problem.
But if I try using
/** MySQL database username */
define(‘DB_USER’, ‘magic’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘xxx’);
and then enter http://localhost/misconce1/wp-login.php
then I get: Error establishing a database connection
but if I use root and no password then I get taken to the WP login page but I don’t know what to enter there.
thanks,
As there are no replies here and I progressed with this, but now have a very specific problem I will start a new post.
http://wordpress.org/support/topic/plugin-preventing-local-install?replies=1#post-4108522
Jane