Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Will Renaming My Databases "Break" the Installation??

  1. #1
    Join Date
    Sep 2007
    Location
    Under Area 51
    Posts
    248

    Default Will Renaming My Databases "Break" the Installation??

    My databases are named rather generically as "_wrdp1" and "_joomla1".

    I would like to rename them to something more descriptive. I think I can do this using phpmyadmin, but if I do, will something break?

    The wordpress db is an active blog, while the joomla db is a fresh, brand-new installation.

  2. #2
    Join Date
    Feb 2006
    Location
    Somewhere where I don't know where I am
    Posts
    2,155

    Default

    Yep it sure will. You can rename them however, if you edit the PHP files that define them.
    Sign Up Now!
    Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
    BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
    (888) 401-4678 | Create a support ticket

  3. #3
    Join Date
    Mar 2006
    Posts
    463

    Default

    My advice - leave them alone you're saving yourself some unnecessary grief. It will take you extra effort to find the database definitions in php in the scipt and I can't see any direct gain from renaming them to be honest.
    Cheap web hosting review directory listing a
    Hostmonster review and a Bluehost review - CPU, support, plans, speed test, uptime

  4. #4
    Join Date
    Sep 2007
    Location
    Under Area 51
    Posts
    248

    Default

    My reasoning for meaningful names (and I don't mean to imply that such reasoning is necessarily valid - I'm just a newbie here) is:

    I have one website and one blog now, and they are associated with one particular entity, but in the future I plan to have a website and blog for each of several entities (like fish, birds, dogs, etc. for example), .

    Naming all the blog databases _wrdp1, _joom1, _wrdp2, joom2, etc. would leave me wondering which db belonged to what animal. But if the dbs were named something like _fishblog, _fishsite, _dogblog, _birdsite, I would know what data they held.

    I also plan to place each entity's blog and website in separate folders inside public_html as shown in the following structure:

    public_html/
    fishblog/
    fishsite/
    dogblog/
    dogsite/

    I am told that it is best to have a separate installation of WP inside each blog folder. However, I don't know if the same applies to Joomla (my CMS for the website files) so I'll ask about that in the Joomla forum.

    I'd really like to know what you and others think about the method to my madness...

  5. #5
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    Why are you setting up separate databases for each application rather than just using one database for all of them? The only time you need to separate into a second database is if that application may be moved to different hosting independently of the rest of the site (and even then it isn't really necessary).

  6. #6
    Join Date
    Feb 2006
    Location
    Florida, USA
    Posts
    153

    Default

    Quote Originally Posted by felgall View Post
    Why are you setting up separate databases for each application rather than just using one database for all of them? The only time you need to separate into a second database is if that application may be moved to different hosting independently of the rest of the site (and even then it isn't really necessary).
    Probably because they're using Fantastico, and Fantastico makes a new database for each application.
    BlueHost Knowledge Base, it is quite helpful, you should read through it.

  7. #7
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    That is just one of the many reasons why doing the install yourself is better than using Fantastico with all of its default settings that it doesn't allow you to change. About all Fantastico is really good for is providing a list of applications of various types so you know what software to look for to install manually - where you get to configure it properly.

  8. #8
    Join Date
    Sep 2007
    Location
    Under Area 51
    Posts
    248

    Default

    Quote Originally Posted by felgall View Post
    Why are you setting up separate databases for each application rather than just using one database for all of them? The only time you need to separate into a second database is if that application may be moved to different hosting independently of the rest of the site (and even then it isn't really necessary).
    Because the folks at the Wordpress forum strongly recommended I do a separate installation of WP for each blog. Why? I dunno. And yes, I did use Fantastico to provide me with Wordpress and Joomla.

    I know very little about any internet application that became popular after HTML 3.0, so I take advantage of the tools provided to get me going. And that's just about all they do, is get you going.

  9. #9
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,951

    Default

    All you need to do is select a different prefix for the table names when installing WordPress and you can install as many copies of it as you like all in the one database.

  10. #10
    Join Date
    Sep 2007
    Location
    Under Area 51
    Posts
    248

    Default

    Yes, that's what I was thinking when I started out with WP. But like I wrote, several people suggested/recommended I keep each blog in its own folder on the host and I include a separate installation of WP in each of those folders. Nobody explained why.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •