Skip to main content
Inspiring
April 9, 2008
Question

Confused....

  • April 9, 2008
  • 4 replies
  • 342 views
I recently switched from a site we were hosting ourselves on CF MX to one
that is using either CF 8 or MX 7.02. I set up DSN to my database, and it
appears to ahve worked, but on almost every page (at least the ones I've
tried) I get an error.

The latest one is shown below, and I'm not sure what the problem is. Can
anyone suggest what direction to look?

The query is:
<cfquery name="Confirmed" datasource="SalleBoise">
select u_fName,
u_lName,e_foil,u_club,u_uuid,e_foil_rating,e_foil_year,tournevent.e_epee,e_epee_rating,e_epee_year,c_full_name
from tournfencer left outer join tournevent
on tournfencer.u_id=tournevent.e_id
left outer join tournclub
on tournfencer.u_club=tournclub.c_name
where e_tid=<cfqueryparam cfsqltype="cf_sql_integer" value="#url.tid#"
maxlength="3">
order by u_lName
</cfquery>

Thanks.


Error Executing Database Query.
Communications link failure due to underlying exception: ** BEGIN
NESTED EXCEPTION ** java.net.ConnectException MESSAGE: Connection refused:
connect STACKTRACE: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at
java.net.Socket.connect(Socket.java:519) at
java.net.Socket.connect(Socket.java:469) at
java.net.Socket.(Socket.java:366) at java.net.Socket.(Socket.java:208) at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267) at
com.mysql.jdbc.Connection.createNewIO(Connection.java:2739) at
com.mysql.jdbc.Connection.(Connection.java:1553) at
com.mysql.jdbc.NonRegistering...

The error occurred in D:\home\salleboise.com\wwwroot\confirmed.cfm:
line 12

10 : left outer join tournclub
11 : on tournfencer.u_club=tournclub.c_name
12 : where e_tid=<cfqueryparam cfsqltype="cf_sql_integer" value="#url.tid#"
maxlength="3">
13 : order by u_lName
14 : </cfquery>


--------------------------------------------------------------------------

SQLSTATE 08S01
SQL select u_fName,
u_lName,e_foil,u_club,u_uuid,e_foil_rating,e_foil_year,tournevent.e_epee,e_epee_rating,e_epee_year,c_full_name
from tournfencer left outer join tournevent on
tournfencer.u_id=tournevent.e_id left outer join tournclub on
tournfencer.u_club=tournclub.c_name where e_tid= (param 1) order by u_lName



    This topic has been closed for replies.

    4 replies

    Inspiring
    April 10, 2008
    Got it resolved, thanks!

    "Azadi" <azadi@sabai-dee.com> wrote in message
    news:ftjhh6$3vc$1@forums.macromedia.com...
    >i suggest you contact the host's tech support and ask them to set up cf
    > dsn for you - i am pretty sure the ones you have set up are not related
    > to cf in any way...
    >
    > Azadi Saryev
    > Sabai-dee.com
    > http://www.sabai-dee.com/
    >

    Inspiring
    April 9, 2008
    i suggest you contact the host's tech support and ask them to set up cf
    dsn for you - i am pretty sure the ones you have set up are not related
    to cf in any way...

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/
    Inspiring
    April 9, 2008
    Not CF Admin, but another utility the hosting company uses to set up the
    DSN...

    "Azadi" <azadi@sabai-dee.com> wrote in message
    news:ftjct8$sec$1@forums.macromedia.com...
    > how did you setup the dsn? did you actually log in to cf admin on the
    > hosting server? it looks like the dsn is not setup correctly...
    >
    > Azadi Saryev
    > Sabai-dee.com
    > http://www.sabai-dee.com/


    Inspiring
    April 9, 2008
    how did you setup the dsn? did you actually log in to cf admin on the
    hosting server? it looks like the dsn is not setup correctly...

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/