can't verify mySQL datasource - works in mySQL, but notin CF7

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

  1. #1

    Default can't verify mySQL datasource - works in mySQL, but notin CF7

    I can't verify a local mySQL datasource in ColdFusion 7 admin. I am using
    Dreamweaver MX 2004 with the CF7 extensions installed. I am developing locally
    and running Apache 2, mySQL 4.1, and ColdFusion 7. In mySQL I can see and
    access the local databases at localhost, port 3306, but I cannot verify these
    datasources in ColdFusion. I read the technote at
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] and placed
    the mysql-connector-java-3.1.8-bin-g.jar driver in my wwwroot/WEB-INF/lib
    folder, then restarted the server, but I get this error:

    Connection verification failed for data source: ows
    java.sql.SQLException: Timed out trying to establish connection
    The root cause was that: java.sql.SQLException: Timed out trying to establish
    connection

    Can anyone offer any guidance? I am at wits end - I've been working on this
    many hours.

    gullbuy Guest

  2. Similar Questions and Discussions

    1. can't verify mySQL datasource
      I can't verify a local mySQL datasource in ColdFusion 7 admin. I am using Dreamweaver MX 2004 with the CF7 extensions installed. In mySQL I can...
    2. MySQL datasource
      Hi all, I get an error creating a datasource with a mysql db on my pc. I am using the MySQL (3.x) driver. Thanks for any pointers as to what the...
    3. Datasource on MySql
      Trying to set up a datasource on MySql : I had an error message as in this link below. I followed this information :...
    4. mySQL error in PHP that works directly in mySQL
      Hi, I created this query: CREATE TEMPORARY TABLE tmp SELECT photos.Name FROM photos LEFT JOIN PhotoNames ON ( photos.Name = PhotoNames.Name )...
    5. Can't Connect to MySQL - Please Verify Settings
      Hello all, I too am experiencing problems trying to connect to MySQL with Dreamweaver MX. I can't be sure if the problem is my settings, or the...
  3. #2

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    I cannot help you because I have the same problem. I tried to verify my
    datasources with the technote you posted and get thi error:
    []java.sql.SQLException: No suitable driver available for prova, please check
    the driver setting in resources file, error: com.mysql.jdbc.Driver

    I hope we will find a solution because I spend a lt of time too for my
    database!!!!
    keep in touch
    Alex
    :confused;

    alexzive Guest

  4. #3

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    I know this was posted almost a month ago, but I too am experiencing the exact
    same problem. Did you manage to find the solution.

    The problem is not the drivers because if I take them out I get a different
    error message about the driver.

    If you have found a solution, please post it as I am ready to launch this PC
    and monitor out of the window.

    MattatCLC Guest

  5. #4

    Default Re: can't verify mySQL datasource - works in mySQL, but not in CF7

    On 2005-06-14 05:09:52 -0500, "MattatCLC" <webforumsuser@macromedia.com> said:
    > I know this was posted almost a month ago, but I too am experiencing
    > the exact same problem. Did you manage to find the solution.
    >
    > The problem is not the drivers because if I take them out I get a
    > different error message about the driver.
    >
    > If you have found a solution, please post it as I am ready to launch
    > this PC and monitor out of the window.
    The last person that had this problem discovered it was related to
    Norton Internet Security blocking traffic to port 3306. Do you have
    Norton Internet Security or some other software firewall installed?

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

    mpwoodward *TMM* Guest

  6. #5

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    The way I solved the problem was by realizing that the
    mysql-connector-java-3.1.8-bin-g.jar driver is NOT the correct driver, and
    that there is another driver in the distribution with the same name, except no
    -g at the end. the -g version is just for debugging. The file name is so long
    that it is easy to miss the end of it.

    Go into the distribution that you downloaded and find out which driver you are
    using. I use McAffee Antivirus and there was no issue with that - it was the
    driver.

    gullbuy Guest

  7. #6

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    hai guys,
    I am not sure whether the below site will help you to configure
    the drivers,but just give a look it might help:
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18652[/url]

    surenr Guest

  8. #7

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    I have been trying to configure the JDBC connector or mySQL on our development
    envronment (MX6).
    I ran into most of the problems listed here -- with one exception. When
    attempting to verify the connection I got the following error. And so far I
    have not been able find any documentation .... HELP.


    Connection verification failed for data source: dsn_ccDATA
    []java.sql.SQLException: Unable to instantiate logger class
    'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
    The root cause was that: java.sql.SQLException: Unable to instantiate logger
    class 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?

    What the @#! does that mean?




    TallGuy@NES Guest

  9. #8

    Default Re: can't verify mySQL datasource - works in mySQL, but not in CF7

    On 2005-06-14 16:25:41 -0500, "TallGuy@NES"
    <webforumsuser@macromedia.com> said:
    > I have been trying to configure the JDBC connector or mySQL on our
    > development envronment (MX6).
    > I ran into most of the problems listed here -- with one exception.
    > When attempting to verify the connection I got the following error.
    > And so far I have not been able find any documentation .... HELP.
    >
    >
    > Connection verification failed for data source: dsn_ccDATA
    > []java.sql.SQLException: Unable to instantiate logger class
    > 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
    > The root cause was that: java.sql.SQLException: Unable to instantiate
    > logger class 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
    >
    > What the @#! does that mean?
    My guess would be you're using the "debugging" driver the other poster
    mentioned. Which specific driver are you using?
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* Guest

  10. #9

    Default Re: can't verify mySQL datasource - works in mySQL, butnot in CF7

    Matt
    I thought of that too -- but I am not using the 'g' version.
    I am using mysql-connector-java-3.1.8-bin.jar.

    I could understand an 'unable to connect' error -- but that logger error has
    me puzzled.

    David


    TallGuy@NES Guest

  11. #10

    Default Re: can't verify mySQL datasource - works in mySQL, but not in CF7

    On 2005-06-16 08:02:31 -0500, "TallGuy@NES"
    <webforumsuser@macromedia.com> said:
    > Matt
    > I thought of that too -- but I am not using the 'g' version.
    > I am using mysql-connector-java-3.1.8-bin.jar.
    >
    > I could understand an 'unable to connect' error -- but that logger
    > error has me puzzled.
    >
    > David
    Have you tried an older driver? Some people have had better luck with
    3.1.6 (I believe).

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

    mpwoodward *TMM* Guest

  12. #11

    Default Re: can't verify mySQL datasource - works in mySQL, but not inCF7

    I'm using 3.1.7 because of the "logger" problem
    HTH

    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover 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