CF 7 data source error with MySQL 4.1

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

  1. #1

    Default CF 7 data source error with MySQL 4.1

    Ok, I am struggling here. I have read everything I could find on hooking up to
    MySQL on a local machine and I am still getting this error. I followed tech
    note 6ef0253, and read through quite a few others. Any help would be
    appreciated. Thanks

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

    Here is my data source info:

    CF Data Source Name: saamysql
    JDBC URL: jdbc:mysql://local/saa
    Driver Class: com.mysql.jdbc.Driver
    Driver Name
    User Name root
    Password **************
    Description

    Shane930

    Shane930 Guest

  2. Similar Questions and Discussions

    1. Error:data Source Name too long
      When trying to set up a custom connection string by entering: \\Ib27s17\data\Production Databases\Contact Info Database\Contact Information...
    2. Data source connection problems with MYSQL
      I am having some data source connection problems with MYSQL. - MAC 10.4.6 tiger - I just successfully installed ColdFusion 7.01 - also - I just...
    3. Can CF MX 6.1 access MySQL database as a Data Source?
      I am using a PC with Windows XP, ColdFusion MX 6.1, MySQL 4.1 Server, DreamWeaver MX installed. I have been doing a lot of reading forums and...
    4. Data Source Error
      I just upgraded my Studio MX to Studio MX 2004. I installed the Coldfusion Developer to my local drive to test my site. When I go to coldfusion's...
    5. CF7 data source error help needed
      when i verify the connections or when i add a data source i get the following error. I dont know what it means and i have set CF Server up the same...
  3. #2

    Default CF 7 data source error with MySQL 4.1

    Ok, I am struggling here. I have read everything I could find on hooking up to
    MySQL on a local machine and I am still getting this error. I followed tech
    note 6ef0253, and read through quite a few others. Any help would be
    appreciated. Thanks

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

    Here is my data source info:

    CF Data Source Name: saamysql
    JDBC URL: jdbc:mysql://local/saa
    Driver Class: com.mysql.jdbc.Driver
    Driver Name
    User Name root
    Password **************
    Description

    Shane930

    Shane930 Guest

  4. #3

    Default Re: CF 7 data source error with MySQL 4.1

    On 2005-05-16 14:09:05 -0500, "Shane930" <webforumsuser@macromedia.com> said:
    > Ok, I am struggling here. I have read everything I could find on
    > hooking up to MySQL on a local machine and I am still getting this
    > error. I followed tech note 6ef0253, and read through quite a few
    > others. Any help would be appreciated. Thanks
    >
    > Connection verification failed for data source: saamysql
    > java.sql.SQLException: No suitable driver available for saamysql,
    > please check the driver setting in resources file, error: null
    > The root cause was that: java.sql.SQLException: No suitable driver
    > available for saamysql, please check the driver setting in resources
    > file, error: null
    >
    > Here is my data source info:
    >
    > CF Data Source Name: saamysql
    > JDBC URL: jdbc:mysql://local/saa
    > Driver Class: com.mysql.jdbc.Driver Driver Name User Name root
    > Password ************** Description
    > Shane930
    If you have MySQL running on the same server as CF, try changing
    "local" in your JDBC URL to "localhost" or "127.0.0.1". The "No
    suitable driver" error typically means it can't find the driver (are
    you sure you put it somewhere in CF's classpath?), but I'd change the
    URL first and see what happens because I doubt that "local" means
    anything to CF.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* Guest

  5. #4

    Default Re: CF 7 data source error with MySQL 4.1

    Thanks Matt, I found the problem. It was in the class path. Thank you for your reply.
    Shane930 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