Solved

Renaming of WordPress Database

Posted on 2016-10-27
2
44 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

739 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