Getting ColdFusion MX 7 to work with MySql 4.1

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

  1. #1

    Default Getting ColdFusion MX 7 to work with MySql 4.1

    Hello out there. I'm having some problems with configuring ColdFusion
    MX 7 with MySql 4.1.


    Right now I downloaded the Connector J v. 3.0.17 files from MySql and
    tried to get them to work, but that didn't work. This is the error
    message that I get from the ColdFusion Administrator. I extracted the
    files to this directory


    C:\CFusionMX7\wwwroot\WEB-INF\lib


    This is a copy of the configuration of the Data Source:


    CF Data Source Name: curves


    JDBC URL: jdbc:mysql://localhost:3306/curves


    Driver Class: com.mysql.jdbc.Driver


    Driver Name: mysql-connector-java-3.0.17-ga-bin.jar


    And this is the error that I get when the datasource is verified.


    Connection verification failed for data source: curves
    java.sql.SQLException: No suitable driver available for curves, please
    check the driver setting in resources file, error: null
    The root cause was that: java.sql.SQLException: No suitable driver
    available for curves, please check the driver setting in resources
    file, error: null


    If anyone has any help it would be very much appreciated.




    chrenzel Guest

  2. Similar Questions and Discussions

    1. converting a MySQL 4.1 subquery to something that'll work with MySQL 4.0
      Say I have the following SQL query: UPDATE phpbb_users SET user_nthpost = ( SELECT post_time FROM phpbb_posts WHERE phpbb_users.user_id =...
    2. mysql - coldfusion
      how can i translate the following to work in a clodfusion query? i want it to give me the amount of items ordered. the total cost and the total...
    3. How to use MySQL 5.0 with ColdFusion MX 7?
      Hi, I'm currently using MySQL 4.1 with Cold Fusion MX 7 and everything is working fine. Now, MySQL have released the 5.0 version which...
    4. Coldfusion MX 7 and MySQL 4.1
      I'm trying to use a MySQL 4.1 database as a Data Source with Coldfusion MX 7. I have Apache configured for Coldfusion. When adding a new Data...
    5. MySQL 4 and Coldfusion 7
      Is there a way to connect to a MySQL 4 database using Coldfusion 7 Enterprise server? It connects to earlier versions, but not 4? Any ideas?
  3. #2

    Default Re: Getting ColdFusion MX 7 to work with MySql 4.1

    1. Did you restart the ColdFusion server after placing the jar file in the
    C:\CFusionMX7\wwwroot\WEB-INF\lib directory?
    2. Did you extract only the "mysql-connector-java-3.0.17-ga-bin.jar" file and
    place it in the C:\CFusionMX7\wwwroot\WEB-INF\lib directory?
    3. Do you have more than one version of the mySQL connector jar in the
    C:\CFusionMX7\wwwroot\WEB-INF\lib directory?


    mxstu Guest

  4. #3

    Default Re: Getting ColdFusion MX 7 to work with MySql 4.1

    1. The current MySQL Connector/J driver is mysql-connector-java-3.1.11-bin.jar

    [url]http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-3.1.11.zip/f[/url]
    rom/pick.

    2. As Mxstu suggested, delete any old mysql-connector-java-*-bin.jar
    files from C:\CFusionMX7\wwwroot\WEB-INF\lib. Extract the zip file you
    downloaded and copy mysql-connector-java-3.1.11-bin.jar into this directory.

    3. Restart the Coldfusion MX server service.

    4. Add a new datasource in the Coldfusion as you did before.



    BKBK Guest

  5. #4

    Default Re: Getting ColdFusion MX 7 to work with MySql 4.1

    > 1. The current MySQL Connector/J driver is mysql-connector-java-3.1.11-bin.jar

    Yes, the 3.0.17 jar is a bit older, but there are issues with version 3.1.11
    + the Log4JLogger class and MX6 / MX7, so I wouldn't use version 3.1.11. I've
    had success with both 3.0.17 and 3.1.9, so I would recommend trying one of
    those first, just to get started. You can always find a newer version once
    things are up and running.




    mxstu 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