Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Renaming Database?Renaming Database?
Previous
 
Next
New Post
10/1/2008 10:13 AM
 

We have run into a problem with a module where our database name ("dnn_system") is too long when combined with a certain module foreign key (the module creates tables with long names like "dnn_system_VendorNameHere_Product_ModuleConfigurationHere" that apparently are just beyond the SQL 128 character limit). 

Is there a way to rename our database and related tables in DNN to something shorter that won't break DotNetNuke?

 
New Post
10/1/2008 4:27 PM
 

I'd make the vendor fix the module.  :)

I don't know an easy way to do this with DNN.  Depending on your SQL skills it's not impossible, but make sure you have backups.  Working backups.  You'll need to change DNN's web.config at least as well.

Jeff

 
New Post
10/1/2008 4:46 PM
 

Make a backup first :) Stop the website so the DB tables are not in use. Manually rename all tables from dnn_system_tablename to just dnn_tablename or even better, just to tablename.  Then change object qualifier in your web.config to "dnn_" (or to "" if you changed names to just tablename).  Then hope!  Restore from backup if it doesnt work.  I've never tried this so can say for sure if it will work..

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Renaming Database?Renaming Database?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out