Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3310056
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:42:50+00:00 2026-05-17T21:42:50+00:00

I recently have been nominated to transfer a CF site from one host to

  • 0

I recently have been nominated to transfer a CF site from one host to another. While I have completed getting the site up on the new server I now need to set up the DB backup on to the new server. I am looking to find a config file or something similar but no one who had control of the site is being very helpful.

If someone can lead me in the right direction for making this transfer seamless it would be greatly appreciated. Mainly on where to find the DB info to pass into the new DB.

Thank you in advance,

JN

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:42:51+00:00Added an answer on May 17, 2026 at 9:42 pm

    You’re going to need to create a datasource on the destination server via the ColdFusion administrator. Upon setup, it will ask you for the DB credentials — server name, user name, password, and DB name… there’s also some advanced features there that you play with but for getting it up and running they are unimportant.

    The key here: somewhere in the site’s code, there’s going to be reference to the datasource. Up until ColdFusion 9, this had to be provided with each statement. Do some digging through the sight and see if you can come up with this. When you find a CFQUERY, look for the “datasource” parameter to the tag.

    Example:

    <cfquery name="myQuery" datasource="myDatasource">
    

    In this case, the datasource name would be “myDatasource” (no quotes). You’d probably want to use the same name for the datasource in this case, otherwise you’d have to go through all the code for the site and change it to whatever you have named the datasource on the new server to be.

    Many developers, however, might set this as a variable in their application.cfc (or .cfm for older CF versions). In which case you might find something like this:

    <cfquery name="myQuery" datasource="#application.datasource#">
    

    In this example, the datasource name is being passed through as a variable, most likely from the application.cfc (or application.cfm) file. You’ll need to track that down and find out what it is being set to. The good thing about this though, is that if you can find where that is set, you can easily change the datasource name to whatever you want without having to fish through the code.

    Good luck in finishing up the move!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.