Database access without using CF admin

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Database access without using CF admin

    Hi,

    I'm using Coldfusion MX 7 and I've built a web app that actually creates an
    user profile, then creates a mySQL database in c:\mysql\data as well as a table
    in the newly created database. I need to automate the whole process and I would
    like to be able to connect to my new database without using the Coldfusion
    admin tool. I've read a lot of things on the net and they only work with
    earlier releases of Coldfusion.

    Is there a way to connect directly, or maybe modify a configuration file in
    order to automatically set up this database connection?

    Thanks for all your help

    FJ

    DesignersRepublics Guest

  2. Similar Questions and Discussions

    1. Admin Access
      Okay, I'm BRAND new at this, so bare with me!! I've seen sites that have an "admin" link, which then take you to a login/password page. I'm...
    2. Why cannot I access my admin url?
      After installing CFMX 7, it automatically takes me into my adminstrator url page (http://localhost:8500/cfide/administrator/datasorces/index.cfm)....
    3. Accessing database which is not set up in Admin
      How can you access MS Access database without configuring it in admin panel and accessing it through a path like when you do with .asp e.g....
    4. Database-CF admin
      hey, I just realised I dont have access to the cold fusion administrative page and im trying to figure out the tables that exist on the database. I...
    5. CF Admin not accepting database password
      Running CF 6.1 on a test server. I'm trying to setup an access database which contains a database password. The cf admin keeps giving me an error...
  3. #2

    Default Re: Database access without using CF admin

    Can you tell us what you have already looked at? This is possible to do since
    most hosting companies have something like this setup for their customers.
    Everyone has their own method though.

    Dan Phillips
    [email]dphillips@cfxhosting.com[/email]
    CFXHosting.com
    a division of Hosting.com

    dphillipsCFX Guest

  4. #3

    Default Re: Database access without using CF admin

    Hi,

    Actually I've read an article about a method which is deprecated in CF MX7,
    like <cfquery connectstring="..." which doesn't work anymore...

    I think there should be a way to update the neo-query.xml file that contains
    the datasource definitions. Problem: the structure is really heavy.

    Other ideas?

    thanks,

    Fred

    DesignersRepublics Guest

  5. #4

    Default Re: Database access without using CF admin

    I don't know if this would help, but I saw this DSN Less tutorial for MySQL and CF
    [url]http://tutorial402.easycfm.com/[/url]
    JRock Guest

  6. #5

    Default Re: Database access without using CF admin

    CFMX7 allows you to programatically do any administrator function. You could
    create a new DSN that way, when you add the new database and table. Take a
    look in the CFMX7 Administrator's Guide for information on the adminAPI. There
    are also articles and whitepapers showing examples.

    HTH.

    ksmith Guest

  7. #6

    Default Re: Database access without using CF admin

    Thanks for the help, it's greatly appreciated...
    DesignersRepublics 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