Solved

Renaming of WordPress Database

Posted on 2016-10-27
2
22 Views
Last Modified: 2016-11-01
Hi All

I want to rename the database and username of a WordPress site.  Although I will backup first I want to make sure it's done right.  Am I right by saying this can be done in 3 steps.

1) Rename the database in the My SQL section of the hosting package
2) Assign a user to the database
3) Change these lines to the correct DB name in wp-config.php

/** The name of the database for WordPress */
define('DB_NAME', 'z49te592_wp639');

/** MySQL database username */
define('DB_USER', 'z49te592_wp639');

Open in new window


I want to do this as I am adding more and more sites and some of the naming conventions are not very good and want to keep track of what relates to each-other.

Thank you in advance for your assistance
0
Comment
Question by:IM&T SRFT
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 41862754
That should be all you need to do to ensure WP continues to work.
0
 

Author Closing Comment

by:IM&T SRFT
ID: 41868152
Thank you, I shall do this tonight!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now