mySQL Drivers and Cold Fusion 6.1

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

  1. #1

    Default mySQL Drivers and Cold Fusion 6.1

    Hello all,

    I have scoured the forums for some answers to the following problem:

    We are trying to install the latest mySQL drivers into Windows Based
    Cold Fusion 6.1. We have followed the instructions Macromedia provided
    on their site.

    - Placed the [mysql-connector-java-3.1.10-bin.jar] file into the
    CFusion\wwwroot\web-inf\lib directory.

    - Added the full path to the JAR file in the JAVA/JVM Section of CF
    Administrator:
    [C:\CFusionMX\wwwroot\WEB-INF\mysql-connector-java-3.1.10-bin.jar]

    - Restarted the services

    - setup the JDBC URL to:
    [jdbc:mysql://remoteHostAddress:3306/dbaseName]

    - Set the Driver class to:
    [com.mysql.jdbc.Driver]

    - Added the appropriate Username and Password

    After all this, I am getting a timeout error:
    [java.sql.SQLException: coldfusion.sql.DatabaseConnectionException:
    Timed out trying to establish connection. The root cause was that:
    java.sql.SQLException: coldfusion.sql.DatabaseConnectionException: Timed
    out trying to establish connection]

    I have seen this error reported in threads dealing with Cold Fusion 7.0
    and MySQL.

    Does anyone have any thoughts on this?

    Thanks in advance for any help you can provide.

    Mike
    Michael London Guest

  2. Similar Questions and Discussions

    1. Migrating from Cold fusion 5 to Cold fusion 7
      Hi, I am facing problem while migrating from CF 5 to CF 7. Please let me know is there any tool is available to Migrate from CF5 to CF 7.
    2. Cold fusion
      Hi I am new to the cold fusion and would like to know where can I write the cold fusion code. For example We can write ASP code in the notepad...
    3. How to connect to MySql from Cold Fusion
      If I install Mysql either from their web site or by using WAMP. How do I connect to a MySQL database from the Cold Fusion Administrator? I am...
    4. Cold Fusion / MySQL development setup NIGHTMARE!
      Please, somebody, anybody.. I have tried many possible combinations of MySQL Server and the J connector. Nothing works. I have two DSN that I've...
    5. Cold Fusion - why?
      Thanks to everyone for the help with .asp vs c/s speed. If I may... What does Cold Fusion have (if anything) over .asp?
  3. #2

    Default Re: mySQL Drivers and Cold Fusion 6.1

    The best 3.1.x driver I've gotten to work with CFMX 6.1 is 3.1.7. 3.1.10
    works great with CFMX7. That said, 3.0.x is supposed to work too and
    would probably be better for using in CFMX6.1

    HTH

    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

  4. #3

    Default Re: mySQL Drivers and Cold Fusion 6.1

    FOLLOWUP:

    Turns out there is something uniquely wrong with the settings on this
    particular server. I setup the driver on another server and there were
    no issues (other than having to set the characterEncoding and useUnicode
    switches).




    Michael London wrote:
    > Hello all,
    >
    > I have scoured the forums for some answers to the following problem:
    >
    > We are trying to install the latest mySQL drivers into Windows Based
    > Cold Fusion 6.1. We have followed the instructions Macromedia provided
    > on their site.
    >
    > - Placed the [mysql-connector-java-3.1.10-bin.jar] file into the
    > CFusion\wwwroot\web-inf\lib directory.
    >
    > - Added the full path to the JAR file in the JAVA/JVM Section of CF
    > Administrator:
    > [C:\CFusionMX\wwwroot\WEB-INF\mysql-connector-java-3.1.10-bin.jar]
    >
    > - Restarted the services
    >
    > - setup the JDBC URL to:
    > [jdbc:mysql://remoteHostAddress:3306/dbaseName]
    >
    > - Set the Driver class to:
    > [com.mysql.jdbc.Driver]
    >
    > - Added the appropriate Username and Password
    >
    > After all this, I am getting a timeout error:
    > [java.sql.SQLException: coldfusion.sql.DatabaseConnectionException:
    > Timed out trying to establish connection. The root cause was that:
    > java.sql.SQLException: coldfusion.sql.DatabaseConnectionException: Timed
    > out trying to establish connection]
    >
    > I have seen this error reported in threads dealing with Cold Fusion 7.0
    > and MySQL.
    >
    > Does anyone have any thoughts on this?
    >
    > Thanks in advance for any help you can provide.
    >
    > Mike
    Michael London 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