CF Server 5 and MYSql

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

  1. #1

    Default CF Server 5 and MYSql

    I've seen similar question from searching but not quite exactly the problem I'm
    having. I installed myodbc to my webserver fine.

    When I went to the site url to test it i got an error that said "odbc error
    data source not found and no default driver installed"

    So after much seraching online I can't seem to find anything that will add
    MYSQL to my coldfusion server odbc list. This is in the CF Admin under ODBC.
    The drop down has most odbc drivers in there already.

    Anyone know where I can download/install this?
    Thanks in advance.

    DrumzCT Guest

  2. Similar Questions and Discussions

    1. ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
      When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'...
    2. MySQLInstanceConfig.exe erases ".\MySQL\MySQL Server 5.0\bin" from the PATH
      Hi, I'm running MySQL 5.0 on WinXP-Pro/SP2. In my ignorance, I ran MySQLInstanceConfig.exe and clicked through all its pages every time I...
    3. cfoutputing MYSQL data from server A to server B, is itpossible?
      Hi! Could you please tell me how on earth can I access a MYSQL database on "SERVER A" that has CFMX 6.1 from a "SERVER B" that just has CFMX 6.1...
    4. Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'
      Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' I got this trying to install DBI and DBD for mysql from...
    5. Seen this message? Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
      Allen Marshall wrote: I just saw it in another newsgroup. Don't multi-post! -- Gunnar Hjalmarsson Email:...
  3. #2

    Default Re: CF Server 5 and MYSql

    CF 5 for WIndows doesn't ship with a MySQL Driver. CF 5 for Linux does.

    I'm assuming you're on WIndows, so first go get the
    [url]http://www.mysql.com/products/connector/odbc/[/url] driver and install it.

    Then go to Control Panel > Administrator Tools > Datasources (ODBC)

    Create a SYSTEM datasource (not a USER one). Fill in all the relevant
    information. Once it's created, go back to CF Admin and you'll see the MySQL
    datasource available in your list of datasources.

    cf_menace Guest

  4. #3

    Default Re: CF Server 5 and MYSql

    Thanks so much! It worked great.

    One final hurdle.

    I tried to verify the connection through CF Admin and it came up with a
    "connection failure" error.

    It said a few things to check in the configuration which I know are fine. Then
    it said something about setting CF up with a special account.

    Not sure if it means on the CF server or the server hosting the MYSQL database
    or what.

    DrumzCT Guest

  5. #4

    Default Re: CF Server 5 and MYSql

    Actually scrap that. Just tested the URL and the sites working fine. Not sure why CFAdmin cant verify but it doesn't seem to be causing any problems.

    Thanks for the help!
    DrumzCT 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