importing existing database to xamp localhost
-
Hi, I have exported a database from cPanel. Both .sql and .zip are now sitting on my desktop.
Using phpMyAdmin I have imported the .sql file.
I have gone into “options” and change both “home” and “siteurl” to https://localhost/mysite
I have created a new wp “mysite” which I can access.I have changed wp-config.php
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘mysitedb’);/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ”);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);Where am I to upzip and save all files too?
How do I import these files into wordpress “mysite”.This is totally new to me. I have spent the day reading various forums and am totally lost. I have not idea whether I have gone about this the right way.
- The topic ‘importing existing database to xamp localhost’ is closed to new replies.