Register the database Mac OSX

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Register the database Mac OSX

    Can anyone help I'm trying to add a database using the Microsoft Access Unicode
    driver. I've entered the CF Datasource Name (cftutorial) and the database file
    location
    (MacintoshHD/Applications/ColdFusionMX7/wwwroot/CFIDE/gettingstarted/cftutorial/
    cftutorial.mdb) but when I click test it does nothing.

    What am I doing wrong?

    thanks for your help

    surfmad1 Guest

  2. Similar Questions and Discussions

    1. how do i register it?
      I have illustrator cs tryout version and i bought a serial but i dont know how to register it. I cant find where i put the serial
    2. register asp.net to IIS
      How do I register asp.net to IIS. When I try to install SQL reporting services I get the error asp.net is not registered to IIS server. I...
    3. how do i register?
      how do i register? (i have a serial number0 please help me!
    4. Self register
      Hi every one. Is it possible to creat aSelf-register form on IIS? Using Widows server 2003, is ther any script needed to do so, or any extensions,...
    5. Please register?
      Sam: Are you using MX or MX 2004? -- Kevin French Team Macromedia Volunteer for Fireworks -Download a 30 day trial of Fireworks MX 2004
  3. #2

    Default Re: Register the database Mac OSX

    surfmad1 wrote:
    > Can anyone help I'm trying to add a database using the Microsoft Access Unicode
    > driver. I've entered the CF Datasource Name (cftutorial) and the database file
    > location
    > (MacintoshHD/Applications/ColdFusionMX7/wwwroot/CFIDE/gettingstarted/cftutorial/
    > cftutorial.mdb) but when I click test it does nothing.
    >
    > What am I doing wrong?
    >
    > thanks for your help
    >
    Short answer is that Access doesn't work on the Mac. I believe there
    are commercial drivers available but I haven't tried any of them.

    Matt

    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  4. #3

    Default Re: Register the database Mac OSX

    So OK, we're trying to do the tutorial in the
    'steps_for_building_dynamic_pages_en.pdf' and we're on a Mac, we don't have MS
    Access as a database. Can some of the other database options be used (
    Microsoft SQL server, MySQL, Oracle, Sybase ), although these seem more
    complicated to configure?

    heapsy Guest

  5. #4

    Default Re: Register the database Mac OSX

    Correct, Access won't work on the Mac. If you haven't done so already I
    suggest the latest installer for the Mac. It was greatly improved and it
    pre-installs the Pointbase database versions of the sample apps. I also use
    MySql with CF on the mac which is much better than Access, and can be used in a
    production site.

    RicktT Guest

  6. #5

    Default Re: Register the database Mac OSX

    I am now trying to set up the MySQL database, so that I can use this for the
    tutorial. My settings are (and I'm guessing here):
    CF Data Source Name = cftutorial
    Database = cftutorial
    Server = [url]http://127.0.0.1[/url] Port = 8500
    I'm getting a long error message that starts:
    Connection verification failed for data source: cftutorial
    java.sql.SQLException: Cannot connect to MySQL server on http:8500.
    Are my settings correct?


    heapsy Guest

  7. #6

    Default Re: Register the database Mac OSX

    Looks like their documentation needs updating. They still treat Mac like a
    second class citizen. It only installs the following datasources:
    cfartgallery_pb, cfbookclub_pb, cfcodeexplorer, cfdocexamples. Possibly book
    club may be used in the tutorial. I haven't tried it in awhile.

    As an alternative, check out
    [url]http://127.0.0.1/cfide/gettingstarted/experience/index_content.cfm[/url] for the
    snippets. That is a great cheat sheet for learning the basics. Start with the
    "Getting Started with CFML" folder - especially CFQuery and CFOutput. Once you
    get that the rest is downhill. Those databases are configured right for the
    doc examples.

    RicktT Guest

  8. #7

    Default Re: Register the database Mac OSX

    A good driver we've been testing is the HXTT pure type 4 MS Access driver
    ([url]www.hxtt.com[/url]).
    (yes, you read that right - Type 4). It has a trial period of 30 days.

    It has passed our internal regression tests but we haven't load tested it yet.
    It's probably OK for what you're trying to do.

    It worked OK for me on the Mac.

    Driver URL: jdbc:access:////Applications/JRun4/cfdocexamples.mdb
    (jdbc:access:4 slashes)
    Driver Class: com.hxtt.sql.access.AccessDriver
    Username: system

    That should get you connected. Take down the Access_JDBC30.jar (The JDBC 3.0
    version) and place it in the:
    /ColdFusionMX7/runtime/servers/lib directory or the /JRun4/servers/lib
    directory (depending on installation type).

    Good luck.

    Stephen Dupre
    Macromedia QA

    sdupre Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139