Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: Cold Fusion Datasource Help

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    18

    Cold Fusion Datasource Help

    My website is cold fusion and I would like to install a new script with an access database.

    I need to set the datasource but don't know how to go about this.

    Can anyone help?

  2. #2
    Junior Member
    Join Date
    Jul 2003
    Posts
    11

    Cold Fusion Datasource Help

    The datasource is simply a name that you use to refer to your database. On a local machine you set it up thru the control panel|ODBC. Your provider (host) should have a link in their control panel which would be something like "Create DSN." You provide the datasource name "mydatabase" and the physical path "C:\inetpub\wwwroot\mydatabase.mdb."

    In Coldfusion you refer to the datasource as follows:
    <cfquery datasource="mydatabase" name="getinfo">

    </cfquery>

Similar Threads

  1. ASP.net vs. Cold Fusion (a comparative)
    By fastedge in forum Web Programming Discussion Forum
    Replies: 16
    Last Post: 11-20-2007, 03:12 PM
  2. PHP & Cold Fusion Programmer Needed
    By tameron in forum Services for Sale/Hire
    Replies: 0
    Last Post: 09-01-2007, 03:35 PM
  3. Help needed with Cold Fusion code
    By jtracking in forum Web Programming Discussion Forum
    Replies: 8
    Last Post: 09-18-2006, 01:06 PM
  4. Need some good web sites for learning Cold Fusion
    By cooldude750 in forum Web Programming Discussion Forum
    Replies: 1
    Last Post: 09-21-2005, 05:20 PM
  5. Cold Fusion
    By cooperm in forum Search Engine Optimization Forum
    Replies: 4
    Last Post: 03-09-2005, 06:18 PM

Posting Permissions

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