Re: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Andy Matthews wrote:
 commenting out various portions of the query, etc. I finally tracked it
 down to my LIMIT keyword, which previously used cfqueryparams1. It appears

i.e.
SELCT a,b,c LIMIT cfqueryparam value=... 
?

I though CFQP only worked in WHERE clauses. Odd it didn't happen during your 
testing or development though ...

-- 
Tom Chiverton
Helping to assertively fashion real-time interfaces
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297634
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-29 Thread Andy Matthews
That's exactly what I thought. Worked just fine locally...but blows up with
that error when in production.


andy 

-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 29, 2008 4:46 AM
To: CF-Talk
Subject: Re: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

On Tuesday 29 Jan 2008, Andy Matthews wrote:
 commenting out various portions of the query, etc. I finally tracked 
 it down to my LIMIT keyword, which previously used cfqueryparams1. It 
 appears

i.e.
SELCT a,b,c LIMIT cfqueryparam value=... 
?

I though CFQP only worked in WHERE clauses. Odd it didn't happen during your
testing or development though ...

--
Tom Chiverton
Helping to assertively fashion real-time interfaces
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A
list of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297636
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-29 Thread Steve Brownlee
Andy:

Any idea how large your resultset is?  I know that the MySQL JDBC driver has
had problems crapping out on extremely large resultsets.  And by crapping
out, I mean, throwing the exception you're seeing.

- Steve Brownlee 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 28, 2008 11:17 PM
To: CF-Talk
Subject: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

I've been dealing with a very odd, seemingly fringe issue and wanted to post
about it. I believe I figured out how to get around it, but I'm not sure
what's causing it.

My host is running the following apps/versions:

ColdFusion: 8,0,0,176276
MySQL: 5.0.45-community-nt

I have a dynamic query that I'm calling via a CFC. On my environment it
works just fine, but on my host's servers, calling this specific query
returned a Communications Link Failure error. After doing some debugging,
commenting out various portions of the query, etc. I finally tracked it down
to my LIMIT keyword, which previously used cfqueryparams1. It appears that
when using this unique combination of things, I get this error. But when I
remove them, and just use plain old pounded variables, it works.

Does anyone know anything about this, why it's happening, and what I might
do for my host? Is it possible that they're just running a few point
releases behind? Doing some online research for that error, I find some
posts from Ray Camden (and others) suggesting that it might be the JDBC
drivers.





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-29 Thread Josh Nathanson
I am having the same issue, with CF8/MySql 5 on my installation of BlogCFC, 
and haven't seen any solutions thus far.  The problem is intermittent but it 
seems to happen pretty regularly.

The BlogCFC forum at RIAforge has this post:
http://www.coldfusionjedi.com/forums/messages.cfm?threadid=83FA26F7-19B9-E658-9D258B669DE98D60

And I also posted there:
http://www.coldfusionjedi.com/forums/messages.cfm?threadid=2BDF68EF-19B9-E658-9DDB2C6260E2CD89

Not saying it's BlogCFC related specifically, but there is some code in 
there that seems to bring up the JDBC database connectivity issue.  Not sure 
what the problem is though, everything there looks hunky dory to me.

-- Josh


- Original Message - 
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, January 28, 2008 9:16 PM
Subject: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?


 I've been dealing with a very odd, seemingly fringe issue and wanted to 
 post about it. I believe I figured out how to get around it, but I'm not 
 sure what's causing it.

 My host is running the following apps/versions:

 ColdFusion: 8,0,0,176276
 MySQL: 5.0.45-community-nt

 I have a dynamic query that I'm calling via a CFC. On my environment it 
 works just fine, but on my host's servers, calling this specific query 
 returned a Communications Link Failure error. After doing some 
 debugging, commenting out various portions of the query, etc. I finally 
 tracked it down to my LIMIT keyword, which previously used cfqueryparams1. 
 It appears that when using this unique combination of things, I get this 
 error. But when I remove them, and just use plain old pounded variables, 
 it works.

 Does anyone know anything about this, why it's happening, and what I might 
 do for my host? Is it possible that they're just running a few point 
 releases behind? Doing some online research for that error, I find some 
 posts from Ray Camden (and others) suggesting that it might be the JDBC 
 drivers.



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297663
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-29 Thread Andy Matthews
4 records, with about 6 or 7 columns apiece. 

-Original Message-
From: Steve Brownlee [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 29, 2008 9:12 AM
To: CF-Talk
Subject: RE: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

Andy:

Any idea how large your resultset is?  I know that the MySQL JDBC driver has
had problems crapping out on extremely large resultsets.  And by crapping
out, I mean, throwing the exception you're seeing.

- Steve Brownlee 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 11:17 PM
To: CF-Talk
Subject: ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

I've been dealing with a very odd, seemingly fringe issue and wanted to post
about it. I believe I figured out how to get around it, but I'm not sure
what's causing it.

My host is running the following apps/versions:

ColdFusion: 8,0,0,176276
MySQL: 5.0.45-community-nt

I have a dynamic query that I'm calling via a CFC. On my environment it
works just fine, but on my host's servers, calling this specific query
returned a Communications Link Failure error. After doing some debugging,
commenting out various portions of the query, etc. I finally tracked it down
to my LIMIT keyword, which previously used cfqueryparams1. It appears that
when using this unique combination of things, I get this error. But when I
remove them, and just use plain old pounded variables, it works.

Does anyone know anything about this, why it's happening, and what I might
do for my host? Is it possible that they're just running a few point
releases behind? Doing some online research for that error, I find some
posts from Ray Camden (and others) suggesting that it might be the JDBC
drivers.







~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297650
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion, MySQL 5.0.45, cfqueryparam, and the LIMIT keyword?

2008-01-28 Thread Andy Matthews
I've been dealing with a very odd, seemingly fringe issue and wanted to post 
about it. I believe I figured out how to get around it, but I'm not sure what's 
causing it.

My host is running the following apps/versions:

ColdFusion: 8,0,0,176276
MySQL: 5.0.45-community-nt

I have a dynamic query that I'm calling via a CFC. On my environment it works 
just fine, but on my host's servers, calling this specific query returned a 
Communications Link Failure error. After doing some debugging, commenting out 
various portions of the query, etc. I finally tracked it down to my LIMIT 
keyword, which previously used cfqueryparams1. It appears that when using this 
unique combination of things, I get this error. But when I remove them, and 
just use plain old pounded variables, it works.

Does anyone know anything about this, why it's happening, and what I might do 
for my host? Is it possible that they're just running a few point releases 
behind? Doing some online research for that error, I find some posts from Ray 
Camden (and others) suggesting that it might be the JDBC drivers.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4