Coldfusion MX 7.x and MYSQL - again

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

  1. #1

    Default Coldfusion MX 7.x and MYSQL - again

    Hi,

    would welcome help in connecting Coldfusion MX 7.1 to MYSQL on a
    system running:


    XP Service Pack 2

    Coldfusion MX 7.1 using the inbuilt server for development


    I am following the instructions in Coldfusion TechNote 6ef0253 but
    without success. I suspect it is me being very stupid but at present
    I cannot see the error of my ways.Thus using Data Sources via
    Administrator my 'set up' for connection is :

    Screen 1

    Data Source name javamysql

    Drive 'selected' other


    [color=blue:fbe8f6c0ed]Screen 2[/color:fbe8f6c0ed]

    C.F Data Source name : javamysql

    JDBC URL : jdbc:mysql://127.0.0.1:3306/mysql

    Driver Class : com.mysql.jdbc.Driver

    Driver Name :
    mysql-connector-java-3.2.0-alpha-bin.jar

    or

    mysql-connector-java-3.1.1.0-bin.jar


    User Name : set to MYSQL user name

    Password : set to MYSQL user password


    Both mysql-connector-java ..... files are in
    C:\ColdfusionMX7\wwwroot\lib

    and

    Java Run Time Environment = JRE 1.5.0_04



    Every attempt to make the connection gives the following error
    message


    [color=red:fbe8f6c0ed]Connection verification failed for data source:
    javamysql
    java.sql.SQLException: No suitable driver available for javamysql,
    please check the driver setting in resources file, error: null
    The root cause was that: java.sql.SQLException: No suitable driver
    available for javamysql, please check the driver setting in resources
    file, error: null[/color:fbe8f6c0ed]

    Any and all help much appreciated


    M

    morse101 Guest

  2. Similar Questions and Discussions

    1. 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...
    2. coldfusion mysql
      Connection verification failed for data source: coldfusion java.sql.SQLException: Communication failure during handshake. Is there a server running...
    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 & MySQL
      Hi, I'm a student working on ColdFusion/MySQL project, with a home PC configuration of MySQL 4.1.x, IIS on XP Pro and CF MX 6.1 (Developer...
    5. ColdFusion MX and mySQL
      Hi, I'm having trouble connecting ColdFusion MX (cevelopers edition running on my home win2k PC) to a mySQL database - I just keep getting connection...
  3. #2

    Default Re: Coldfusion MX 7.x and MYSQL - again

    >Both mysql-connector-java ..... files are in C:\ColdfusionMX7\wwwroot\lib
    I'm not running MX7, but I think you should only have one version of the MySQL
    Connector/J jar in the directory or MX may get confused about which one to use.




    mxstu Guest

  4. #3

    Default re:Coldfusion MX 7.x and MYSQL - again

    mxstu - many thanks for the suggestion. I will follow it up and let
    you know the outcome!!


    M

    morse101 Guest

  5. #4

    Default re:Coldfusion MX 7.x and MYSQL - again

    mxstu - It worked !!

    many thanks

    M :D :D

    morse101 Guest

  6. #5

    Default Re: Coldfusion MX 7.x and MYSQL - again

    We are having this same issue and we have tried everything suggested above. We have even tried copying the entire contents of the folder that contained mysql-connector-java-3.2.0-alpha-bin.jar into the C:\ColdfusionMX7\wwwroot\lib folder and am still getting the

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

    are there any other suggestions for this issue?

    We have already reinstalled coldfusion and mysql 5.0 in order to fix a different issue, and now we are finally able to administer the MX7 server, but cannot add the datasource due to the above error. Any help would be greatly appreciated. Thanks.
    Unregistered 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