cannot access data source on the web PLEASE help

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

  1. #1

    Default cannot access data source on the web PLEASE help

    Hello everyone?can someone PLEASE help?
    I have created some Cold Fusion pages and the are working fine via my local
    server. They connect to a MYSQL database (local server).

    Now I have a host on the web (WIN) which has both Cold Fusion set up (I have a
    CF DSN) and MYSQL.

    Now how do I get this to work this on here?

    I suppose I just upload the CFM flies as per any other upload.
    But what about the DATABASE? How do transfer the database to the server so
    that CF files connect to this but it in its new environment?

    I tried several time and had no luck. I then created a new MYSQL database on
    my webserver and tried to connect to this via creating a new datasource in thr
    Cold Fusion Administrator. No luck. The error message keeps asking me if there
    is a MYSQL server on the host/port that I am trying to connect to. I know there
    is one as I can connect via PHP page

    Can someone PLEASE help. I have been trying this now for three weeks! Driving
    me crazy!! My ISP (Godaddy.com) is of no help either.

    thanking in advance...

    Peter


    mayo5000 Guest

  2. Similar Questions and Discussions

    1. Editing a MS Access Data Source
      1) I have a copy of Coldfusion MX 7 developers edition running on my system. So my computer is acting as my local server. 2) I used Coldfusion...
    2. Can CF MX 6.1 access MySQL database as a Data Source?
      I am using a PC with Windows XP, ColdFusion MX 6.1, MySQL 4.1 Server, DreamWeaver MX installed. I have been doing a lot of reading forums and...
    3. XML Data Source
      I am thinking of creating an online application using an XML file as it's primary data source. The XML file on the web server will be refreshed via...
    4. moving data from one data source to another
      I'm trying to move data from one data source to another. I don't want to loop - because it will kill performance. A simple Select into or Insert...
    5. about data source???
      I have an access database developed. I have added a new table to link to the original developed table. Then I want to change my original form and...
  3. #2

    Default Re: cannot access data source on the web PLEASE help

    - cfm pages: upload them or, if security is no issue, zip them, send them as
    attachment to your Gmail, to be opened at the server, etc. etc.

    - mysql: use MySQL's mysqldump command to make a backup of your
    entire database on the second server, as follows:

    1. Generate an SQL script for the database (on your local server)
    -> mysqldump --user=root --password=a1B2c3 originaldatabasename >
    databasename_create.sql


    2. Copy the newly created file, databasename_create.sql , to the other server


    3. Recreate the database on the second server by running the sql script, like
    this:
    -> mysql --user=root --password=a1B2c3 newdatabasename <
    databasename_create.sql



    BKBK Guest

  4. #3

    Default Re: cannot access data source on the web PLEASE help

    Thanks for that BKBK.

    I will certainly try that a go.

    cheers

    Pete


    Originally posted by: BKBK
    - cfm pages: upload them or, if security is no issue, zip them, send them as
    attachment to your Gmail, to be opened at the server, etc. etc.

    - mysql: use MySQL's mysqldump command to make a backup of your
    entire database on the second server, as follows:

    1. Generate an SQL script for the database (on your local server)
    => mysqldump --user=root --password=a1B2c3 originaldatabasename >
    databasename_create.sql

    2. Copy the newly created file, databasename_create.sql , to the other server

    3. Recreate the database on the second server by running the sql script, like
    this:
    => mysql --user=root --password=a1B2c3 newdatabasename <
    databasename_create.sql





    mayo5000 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