Coldfusion Administration:Adding Data Sources Error

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Coldfusion Administration:Adding Data Sources Error

    * Connection verification failed for data source: online_store
    []java.sql.SQLException: Communication failure during handshake. Is there a
    server running on localhost:3306?
    The root cause was that: java.sql.SQLException: Communication failure during
    handshake. Is there a server running on localhost:3306?

    Thats the message I get when I try to add a mysql database using the
    coldfusion admin page. I never get this error when I add an access database.

    Where could I be going wrong?

    Could anyone help or suggest something?

    abhishek77 Guest

  2. Similar Questions and Discussions

    1. Coldfusion administration access
      Hello, i need help please. I instaled Coldfusion developer on my laptop. All worked fine, but when i am offline i can?t get access to the...
    2. Coldfusion 6.1 - Administration doesn't load
      We are running a Coldfusion 6.1 server on Windows 2003 Standard running IIS6 (upgraded from Windows 2000 Standard running IIS5). The CFusionMX files...
    3. Data Sources in CF admin error
      Hi, I am getting an error when trying to access the datasources in CF admin. This is the error: The system has attempted to use an undefined...
    4. Adding data to a Grid error
      I am really stuck on this little doozy!!! I have 2 grids, one is used to select data from and the other one is to insert the selected data into....
    5. Error Adding Data Source
      Hey i am having lots of trouble adding a datasource i made on My SQL version 4.1, i get this error when i submit it: Connection verification...
  3. #2

    Default Re: Coldfusion Administration:Adding Data Sources Error

    abhishek77 wrote:
    > * Connection verification failed for data source: online_store
    > []java.sql.SQLException: Communication failure during handshake. Is there a
    > server running on localhost:3306?
    > The root cause was that: java.sql.SQLException: Communication failure during
    > handshake. Is there a server running on localhost:3306?
    >
    > Thats the message I get when I try to add a mysql database using the
    > coldfusion admin page. I never get this error when I add an access database.
    [url]http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=Communication+failure+dur ing+handshake[/url]

    Jochem


    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion
    Jochem van Dieten **AdobeCommunityExpert** Guest

  4. #3

    Default Re: Coldfusion Administration:Adding Data Sources Error

    I followed the instructions from that link but i am still facing some problems.
    [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]

    Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0

    where it states to enter jdbc url, i entered in the following:
    jdbc:mysql://[localhost]:[3306]/[online_store]

    for driver class: com.mysql.jdbc.5.0.4

    I am confused with steps 2 and 3.

    2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
    archive file.
    3. Save the mysql-connector-java-3.{n}-bin.jar file in thecf_root/WEB-INF/lib
    directory.

    What i am confused about is do we extract the main zip file to a folder of
    same name and copy and paste the jar file to destination folder or do we
    extract the jar file itself which opens up 3 folders and paste to destination
    folder?

    below is the error i get.

    Connection verification failed for data source: online_store
    []java.sql.SQLException: No suitable driver available for online_store, please
    check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
    The root cause was that: java.sql.SQLException: No suitable driver available
    for online_store, please check the driver setting in resources file, error:
    com.mysql.jdbc.5.0.4

    also would you know how to add a .sql file as a datasource to coldfusion
    administration?

    abhishek77 Guest

  5. #4

    Default Re: Coldfusion Administration:Adding Data Sources Error

    Extract the mysql-connector-java-5.0.4-bin.jar file only.

    Place it in the WEB-INF/lib folder.

    Restart ColdFusion services

    Don't use the brackets, do it like this:

    jdbc:mysql://localhost:3306/online_store

    And the Driver class should be exactly like this:

    com.mysql.jdbc.Driver


    --
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    [url]http://www.fordwebs.com[/url]


    "abhishek77" <webforumsuser@macromedia.com> wrote in message
    news:en5ij8$7bm$1@forums.macromedia.com...
    >I followed the instructions from that link but i am still facing some
    >problems.
    > [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
    >
    > Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0
    >
    > where it states to enter jdbc url, i entered in the following:
    > jdbc:mysql://[localhost]:[3306]/[online_store]
    >
    > for driver class: com.mysql.jdbc.5.0.4
    >
    > I am confused with steps 2 and 3.
    >
    > 2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
    > archive file.
    > 3. Save the mysql-connector-java-3.{n}-bin.jar file in
    > thecf_root/WEB-INF/lib
    > directory.
    >
    > What i am confused about is do we extract the main zip file to a folder of
    > same name and copy and paste the jar file to destination folder or do we
    > extract the jar file itself which opens up 3 folders and paste to
    > destination
    > folder?
    >
    > below is the error i get.
    >
    > Connection verification failed for data source: online_store
    > []java.sql.SQLException: No suitable driver available for online_store,
    > please
    > check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
    > The root cause was that: java.sql.SQLException: No suitable driver
    > available
    > for online_store, please check the driver setting in resources file,
    > error:
    > com.mysql.jdbc.5.0.4
    >
    > also would you know how to add a .sql file as a datasource to coldfusion
    > administration?
    >

    Ken Ford - *ACE* Guest

  6. #5

    Default Re: Coldfusion Administration:Adding Data Sources Error

    I did it and it worked like a charm.

    One thing to note, the WEB-INF/lib folder is under your cold fusion mx install
    directory for those who may not have known (e.g.
    C:\CFusionMX7\wwwroot\WEB-INF\lib)

    [q]Originally posted by: Newsgroup User
    Extract the mysql-connector-java-5.0.4-bin.jar file only.

    Place it in the WEB-INF/lib folder.

    Restart ColdFusion services

    Don't use the brackets, do it like this:

    jdbc:mysql://localhost:3306/online_store

    And the Driver class should be exactly like this:

    com.mysql.jdbc.Driver


    --
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    [url]http://www.fordwebs.com[/url]


    "abhishek77" <webforumsuser@macromedia.com> wrote in message
    news:en5ij8$7bm$1@forums.macromedia.com...
    >I followed the instructions from that link but i am still facing some
    >problems.
    > [url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
    >
    > Regd the drivers and connectors, I had downloaded MySQL Connector/J 5.0
    >
    > where it states to enter jdbc url, i entered in the following:
    > jdbc:mysql://[localhost]:[3306]/[online_store]
    >
    > for driver class: com.mysql.jdbc.5.0.4
    >
    > I am confused with steps 2 and 3.
    >
    > 2. Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
    > archive file.
    > 3. Save the mysql-connector-java-3.{n}-bin.jar file in
    > thecf_root/WEB-INF/lib
    > directory.
    >
    > What i am confused about is do we extract the main zip file to a folder of
    > same name and copy and paste the jar file to destination folder or do we
    > extract the jar file itself which opens up 3 folders and paste to
    > destination
    > folder?
    >
    > below is the error i get.
    >
    > Connection verification failed for data source: online_store
    > []java.sql.SQLException: No suitable driver available for online_store,
    > please
    > check the driver setting in resources file, error: com.mysql.jdbc.5.0.4
    > The root cause was that: java.sql.SQLException: No suitable driver
    > available
    > for online_store, please check the driver setting in resources file,
    > error:
    > com.mysql.jdbc.5.0.4
    >
    > also would you know how to add a .sql file as a datasource to coldfusion
    > administration?
    >

    [/q]



    Ventice Tech 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