WordPress install existing database
I dont have wordpress files I have only database of previous word press
Now I have installed new wordpressThis is a heading
Firstly you’ll need to make sure that the wp-config.php file is updated to point to the database that it was restored to.changes Details in wp-config.php
define('DB_NAME', 'cricketb_root'); /** MySQL database username */ define('DB_USER', 'cricketb_admin'); /** MySQL database password */ define('DB_PASSWORD', 'O$*dvHy).^76');
If the domain name is different you might also need to change that in the database:Follow set by setep
- Backup your database and save the copy off-site.
- Login to phpMyAdmin.
- Click the link to your Databases.
- A list of your databases will appear. Choose the one that is your WordPress database.
- All the tables in your database will appear on the screen.
- From the list, look for wp_options. Note: The table prefix of wp_ may be different if you changed it when installing.
- Click on the small icon indicated as Browse.
- A screen will open with a list of the fields within the wp_options table.
- Under the field option_name, scroll down and look for siteurl.
- Click the Edit Field icon which usually is found at the far left at the beginning of the row.
- The Edit Field window will appear.
- In the input box for option_value, carefully change the URL information to the new address.
- Verify this is correct and click Go to save the information.
- You should be returned to your wp_options table.
- Look for the home field in the table and click Edit Field. Note There are several pages of tables inside wp_options. Look for the > symbol to page through them.
- In the input box for option_value, carefully change the URL information to the new address.
- Verify this is correct and click Go to save the information.