Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 06:29:32 PM

Pages: [1]   Go Down
  Print  
Author Topic: changing the wrdp name  (Read 4097 times)
drewcam
Spacescooter Operator
*****
Offline Offline

Posts: 46


« on: February 19, 2011, 06:56:34 AM »

when I install a new wordpress site it tells me the database is called wrdp_10.
some of my sites that I've done in the past have got their individual name instead. i.e. wrdp_mysite.

How can I get it to use a name instead of a number? That way I can easily identify what database is what.

I am using Fantastico for installation.

thanks
Logged
katrina1
Guest
« Reply #1 on: February 19, 2011, 09:18:33 PM »

Fantastico will always do it that way and you cannot change Fantastico. You can install Wordpress manually which is very easy. You could also create the new database, export from the old to new database, then update the settings in wp-config.php.
Logged
MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5191



« Reply #2 on: February 21, 2011, 07:01:14 AM »

Most "one button" installations, such as Fantastico, will use a single name for their database and just keep incrementing a counter (wrdp_1, wrdp_2, ...). You have to install manually if you want to custom name the database. Failing that, you have two choices:
  1. Just keep a list of what database corresponds to what application. Keep a copy of the file on the site so you won't lose track of it. Refer to it whenever you want to do something manually with the databases.
  2. If you can find your way around phpMyAdmin and the Wordpress configuration file(s), you ought to be able to rename the database in phpMyAdmin, and update the name in the config file(s). Not for the extremely faint of heart, but quite possible. Shut down the application using the database first, so that it's not being actively used while being changed.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
  Print  
 
Jump to: