more cfmx6.1 to mysql 4.1.10

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

  1. #1

    Default more cfmx6.1 to mysql 4.1.10

    i'm attempting to connect mx6.1 on w2k server to mysql 4.1.10. using the jdbc
    connector. i followed the instructions in
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url] but still
    get the following error message when i attempt to create a datasource. he root
    cause was that: java.sql.SQLException: Communications link failure due to
    underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection timed out: connect STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection timed out:
    connect at
    com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:151) at
    com.mysql.jdbc.MysqlIO.(MysqlIO.java:280) at
    com.mysql.jdbc.Connection.createNewIO(Connection.j ava:1765) at
    com.mysql.jdbc.Connection.(Connection.java:430) at
    com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:268) at
    coldfusion.server.j2ee.sql.pool.JDBCPool.createPhy sicalConnection(JDBCPool.java:
    511) at
    coldfusion.server.j2ee.sql.pool.ConnectionRunner$R unnableConnection.run(Connecti
    onRunner.java:64) at java.lang.Thread.run(Thread.java:534) ** END NESTED
    EXCEPTION ** any help would be greatly appreciated

    jas5on Guest

  2. Similar Questions and Discussions

    1. CFMX6.1 and JRun Updaters
      Is it nescessary to run the JRun4 updaters if we're using CFMX with IIS6? If not, a recommended settings of -XX:+DisableExplicitGC ? Use this...
    2. Issue with CFMX6.1
      We've had this issue two weeks in a row now, where our site (on two servers, balanced by dns roundrobin), will only display <. It happened last...
    3. Java5 and CFMX6-7
      Will CFMX 6.1 and MX7 run on the new JAVA 5??? anyone tried it before? Any problems?
    4. Is this a known bug in CFMX6.1?
      If I set a local variable with the same name as a column name in a query e.g. <cfset lastname = "Smith"> <cfset namelist = ""> <cfloop query...
    5. CFMX6.1 Mail Settings
      You do not have an SMTP server running on your machine. You need to point ColdFusion to a mail server, that is the IP address you should put in the...
  3. #2

    Default Re: more cfmx6.1 to mysql 4.1.10

    Hi

    Have you created the DSN? is there itself are you failing to create the
    DSN.
    can you post your data? means what are the details you are giving for this.
    Because i am connecting to the mysql successfull.
    if you post your configuration..we can help you out.

    vkunirs Guest

  4. #3

    Default Re: more cfmx6.1 to mysql 4.1.10

    yes, i have set up the dsn. i entered the jdbc url as
    jdbc:mysql://servername:3306/butler and the driver class as
    com.mysql.jdbc.Driver and then the username and password. when i submit this
    config to verify the connection i get the orginally posted error. at this
    time i'm using the root user to remove any user issues on the db side. i can
    connect to the db with admin tools successfully so i'm pretty confident the
    issue is with cf and not the db. i should note that cf is running on a w2k
    server box and mysql is on an xp sp2 machine. this same setup has been running
    with mysql 4.0 via odbc without issue for over a year. thanks

    jas5on Guest

  5. #4

    Default Re: more cfmx6.1 to mysql 4.1.10

    Hi

    you said that you have created DSN successfully... where you have created this
    DSN? in CF admin or in ODBC.

    if it is in CF admin then you can use that dsn name directly in the cfquery
    tag. then whats your problem.

    you need to create DSN in CF admin and i think we dont require any jdbc url
    or something else. by default it will take.
    as i have done for the checking i have not given like that and the dSN is
    created successfully

    vkunirs Guest

  6. #5

    Default Re: more cfmx6.1 to mysql 4.1.10

    thanks for your response. i guess i should clarify. i'm attempting to set up
    a dsn in cf admin using jdbc to connect to mysql 4.1. prior to mysql 4.1 i had
    an odbc connection to mysql which worked fine. mysql 4.1 doesn't work with
    odbc so i'm attempting to use the jdbc. i installed the jdbc according to the
    instructions in mm knowledge base article
    ([url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]) but i
    get the error in the original post.

    jas5on Guest

  7. #6

    Default Re: more cfmx6.1 to mysql 4.1.10

    Hi

    I think we need to create the DSN in CF admin compulsary.
    first try to create the DSN ..then let me the whats the error you are getting.

    vkunirs Guest

  8. #7

    Default Re: more cfmx6.1 to mysql 4.1.10

    once again, i appreciate you help. i did try to set up the dsn and i get the
    following error: the root cause was that: java.sql.SQLException:
    Communications link failure due to underlying exception: ** BEGIN NESTED
    EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException:
    Connection timed out: connect STACKTRACE: java.net.SocketException:
    java.net.ConnectException: Connection timed out: connect at
    com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:151) at
    com.mysql.jdbc.MysqlIO.(MysqlIO.java:280) at
    com.mysql.jdbc.Connection.createNewIO(Connection.j ava:1765) at
    com.mysql.jdbc.Connection.(Connection.java:430) at
    com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:268) at
    coldfusion.server.j2ee.sql.pool.JDBCPool.createPhy sicalConnection(JDBCPool.java:
    511) at
    coldfusion.server.j2ee.sql.pool.ConnectionRunner$R unnableConnection.run(Connecti
    onRunner.java:64) at java.lang.Thread.run(Thread.java:534) ** END NESTED
    EXCEPTION **

    jas5on Guest

  9. #8

    Default Re: more cfmx6.1 to mysql 4.1.10

    Jason, I had this same issue , and the fix was to run MYSQL 4.1 with
    old_passwords flag on. This allowed the DSN to connect using the old hash
    method. Try this: [url]http://dev.mysql.com/doc/mysql/en/old-client.html[/url]

    Abinidi Guest

  10. #9

    Default Re: more cfmx6.1 to mysql 4.1.10

    thanks for your help guys. i solved the problem. i'm a little embarrassed to
    admit it but the issue was the firewall on the xp machine. sp2 installs and
    runs it by default and i negelected to allow traffic on my own network.

    jas5on 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