User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 403,115 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,415 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 2573 | Replies: 2
Reply
Join Date: Aug 2005
Posts: 6
Reputation: sam1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sam1981 sam1981 is offline Offline
Newbie Poster

setting up a datasource in CFadmin

  #1  
Aug 13th, 2005
Hi,

can anybody out there tell me how to set up a datasource in the cfadmin and use the datasource attribute instead of the connectstring attribute?

I need to do this because it happens to be that my client for which i have developed a web based database for is running CF5 or below and need to transfer the filkes over to a server which has a later version of coldfusion.


Im a novice developer hence this is all jargon to me!

Is there anybody out there that can help?

Sam.x.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Posts: 69
Reputation: bkendall is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bkendall's Avatar
bkendall bkendall is offline Offline
Junior Poster in Training

Re: setting up a datasource in CFadmin

  #2  
Aug 15th, 2005
Setting up the database is just a matter of clicking the data sources link under Data & Services in the menu on the left (cfMx). From here all you need to do is select the data base type from the drop down and type the name of the db.

As for data base attribute I am guessing you are referring to using [HTML]<cfquery name="qname" datasource="dbname">[/HTML] instead of
[HTML]<cfquery name="qname" datasource="#session.dbsource#">[/HTML]

Let me know is this is what you were looking for.

Thanks
Reply With Quote  
Join Date: Aug 2005
Posts: 6
Reputation: sam1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sam1981 sam1981 is offline Offline
Newbie Poster

Re: setting up a datasource in CFadmin

  #3  
Aug 15th, 2005
Hi,

Thanks for your help. The web application is working successfully now.

Sam.x.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 2:28 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC