CFMX 6.1 talking to MySQL question

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

  1. #1

    Default CFMX 6.1 talking to MySQL question

    I am trying to get CFMX 6.1 to talk to MySQL (4.1). I been using CF with MS
    SQL Server (Windows) for years, but am attempting an install of MySQL (Windows)
    and use CFMX (Windows) with MySQL. Do I need to install the MySQL Connector/J
    to allow a CFMX datasource to connect to the MySQL database? Thanks for any
    and all help. Russ....

    Russ Guest

  2. Similar Questions and Discussions

    1. CFMX 7 and mySQL 5 configuration
      All, I need help getting the CF 7 admin to recognize mySQL 5 on Windows XP on my local machine. I know that mySQL is working properly. I'm not...
    2. CFMX to MySQL 4.1 connection
      :confused; Has anyone an idea on why CF administrator would fail when attemping to connect to a new Data Source? CFMX and MySQL installed on the...
    3. CFMX + mySQL
      Hello there, I have just installed CFMX 7 developer edition + mySQL 4.1.12a on my local winXP pro machine. I also downloaded the JDBC for mySQL....
    4. CFMX & MySQL : getting the id of the last insert
      <cftransaction> <cfquery> Insert Into myTable(col1, col2) Values('value1', 'value2') </cfquery> <cfquery> Select MAX(ID) As LastInserted From...
    5. CFMX 7 cannot add MySQL datasource
      Hi. I have installed CFMX 7 and its working amazing. I have a local MySQL databse running on 127.0.0.1 port 3306. I am trying to add a datasource...
  3. #2

    Default Re: CFMX 6.1 talking to MySQL question

    The MySQL drivers that ship with CFMX 6/6.1/7 only work with MySQL 3.23 through
    4.0.x (via ODBC).

    The password algorithm was updated starting with MySQL 4.1, so you'll need to
    use [url]http://dev.mysql.com/doc/mysql/en/old-client.html[/url]

    cf_menace Guest

  4. #3

    Default Re: CFMX 6.1 talking to MySQL question

    The purpose of this exercise (installing MySQL) to work with CFMX is to see if
    MySQL can be a replacement for our CFMX web applications that use SQL Server.
    It was very easy to install the MySQL core, administrator, and query browser.
    Now we come to the JDBC connector: the curent instructions I saw with this get
    very confusing, very fast . Is there something you can get which you just
    install like the MySQL core, administrator, and query browser. ? Thanks for
    any and all help. russ....

    Russ Guest

  5. #4

    Default Re: CFMX 6.1 talking to MySQL question

    If you want to use the new, stronger password algorithm that ships with MySQL
    4.1, then follow the instructions in the first link. Takes about 5 mintues
    depending on download time.

    Otehrwise, install MySQL 4.1 and tell it to run using "old passwords" (you can
    configure this via MySQL Administrator), then you can use the MySQL driver that
    shipped with CFMX.

    HTH

    cf_menace Guest

  6. #5

    Default Re: CFMX 6.1 talking to MySQL question

    HTH.... Thanks for all your help. After first failing in connectivity with
    4.1, I removed it and tried 4.0, which did not have the nice server setup that
    4.1 has. Then I got your latest note and decided to try again. So, I removed
    4.0, installed 4.1 (nothing special, standard vanilla install) and found (and
    activated) the feature you mentioned to allow for old passwords. I now had
    great hopes of getting my CFMX 6.1 to talk to MySQL. Wentto CFMX 6.1
    administration (on same Windows server) and created a CFMX datasource using the
    MySQL driver and using the correct server, db, user, and password in the
    datasource, I get the following error: Connection verification failed for data
    source: MySQL_dtsc-dev_CF []java.sql.SQLException: Communication failure during
    handshake. Is there a server running on dtsc-dev:3306? The root cause was that:
    java.sql.SQLException: Communication failure during handshake. Is there a
    server running on dtsc-dev:3306? any thoughts? I checked, the MySQL service
    is running) and thanks again for your help Russ Calif. Dept. of Toxic
    Substances Control Sacramento, CA.

    Russ Guest

  7. #6

    Default Re: CFMX 6.1 talking to MySQL question

    And addo to the previous message... I did restart the MySQL server after
    activating the security feature to use the old password method. I also, just
    in case, reboot the server. Still getting the same error. russ....

    Russ Guest

  8. #7

    Default Re: CFMX 6.1 talking to MySQL question

    You created your DB User using the new 4.1 password method. Then you told MySQL
    to bootup using the old password method. Now the User can't connect becuase the
    stored password was created using the New method.

    Update the user's password while MySQL is running using old_passwords and you
    should be back on track.

    cf_menace Guest

  9. #8

    Default Re: CFMX 6.1 talking to MySQL question

    What I have done since your lastest email was delete the user and re-created.

    The CFMX datasource seems to have made the connection.

    Thanks.
    Russ 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