CFMX 7 cannot add MySQL datasource

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

  1. #1

    Default 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 but
    keep getting errors. CF Data Source Name: MyDataSourceName Database: TestDB
    Server: 127.0.0.1 port 3306 Username: root Password: password This results in
    the following error: Connection verification failed for data source:
    MyDataSourceName java.sql.SQLException: Communication failure during handshake.
    Is there a server running on 127.0.0.1:3306? The root cause was that:
    java.sql.SQLException: Communication failure during handshake. Is there a
    server running on 127.0.0.1:3306? I read in the support notes that I should
    try 'local' as the hostname - but that results in the error: Connection
    verification failed for data source: MyDataSourceName java.sql.SQLException:
    Cannot connect to MySQL server on 'local':3306. Is there a MySQL server running
    on the machine/port you are trying to connect to?
    (java.net.UnknownHostException) The root cause was that: java.sql.SQLException:
    Cannot connect to MySQL server on 'local':3306. Is there a MySQL server running
    on the machine/port you are trying to connect to?
    (java.net.UnknownHostException) Help - I need to demo it working with some
    data to my boss.... M@)

    game_on Guest

  2. Similar Questions and Discussions

    1. Datasource setting when using jTDS 1.2 with CFMX 7 andSQL2000 (sp4)
      I am trying to get the jTDS 1.2 driver working on CFMX 7 and SQL 2000 (SP4). Here is what I did: - stopped CFMX service - copied jTDS-1.2.jar to...
    2. All CFMX 7 DB2 OS/390 Datasource Connections Failing
      Has anyone successfully connected to DB2 on OS/390 (mainframe) with ColdFusion 7 on Windows? This worked fine on ColdFusion 6.1 but refuses to work...
    3. can't verify mySQL datasource - works in mySQL, but notin CF7
      I can't verify a local mySQL datasource in ColdFusion 7 admin. I am using Dreamweaver MX 2004 with the CF7 extensions installed. I am developing...
    4. CFMX 7.0 Datasource with Access
      I just installed CFMX 7 on a new web server. When I initially set it up I was able to connect a few of my Access databases without a problem. Today...
    5. CFMX and MySQL Datasource Connection Error
      Summary: Unable to create datasource for MySQL database successfully. I have followed the steps for...
  3. #2

    Default Re: CFMX 7 cannot add MySQL datasource

    Hi,

    I googled the error message and I got this as a possible solution:

    change the authentication method at the mysql server:
    set password for <username>@<servername> = old_password('<password>');

    BobJP Guest

  4. #3

    Default Re: CFMX 7 cannot add MySQL datasource

    The MySQL drivers that ship with CFMX 7 olny work for MySQL 3.23 through 4.0.x.

    If you're running MySQL 4.1, you need to either configure it to use the
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] to see how
    to setup the latest Connector J JDBC drivers from MySQL.

    cf_menace Guest

  5. #4

    Default Re: CFMX 7 cannot add MySQL datasource

    cf_menace wrote:
    > The MySQL drivers that ship with CFMX 7 olny work for MySQL 3.23 through 4.0.x.
    >
    > If you're running MySQL 4.1, you need to either configure it to use the
    > [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] to see how
    > to setup the latest Connector J JDBC drivers from MySQL.
    >
    Yep, you can handle this situation either way that's been posted.
    Either you rehash your passwords within MySQL, or you use the updated
    MySQL JDBC driver (which I would recommend).

    Matt

    --
    Matt Woodward
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  6. #5

    Default Re: CFMX 7 cannot add MySQL datasource

    Thanks loads - will give it a go.... M@)
    game_on 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