Ask a Question related to Coldfusion Database Access, Design and Development.
-
rwhaun #1
MYSQL 4.1 INT datatype issues with CF7
When I try to pull my SMALLINT, MEDIUMINT, and INT fields from my MYSQL 4.1
tables, I get a value like "4294967307". However, once I change the datatypes
to BIGINT, they work just fine and I can pull the actual values.
I am running ColdFusion MX 7 with hotfix3 and the latest MYSQL JDBC driver. I
have seen this problem on my Windows 2003 CF7 installation as well as when
running it locally as the standalone 8500 installation. It isn't isolated to
one table or datasource, it happens in them all.
Also, for the record, the exact same cfqueries and mysql tables work fine with
CFMX 6.1. I am in the process of migrating to MX7 though.
Any suggestions? This isn't a major problem, I've just been chaning all my
datatypes to BIGINT and things work fine.
William Haun - haunw@at@spcollege)dot(com
rwhaun Guest
-
MyCC & MySQL compatability issues
I'm new to MySQL and I have just downloaded and installed MySQL 5.0.24-windows together with MyCC 0.9.2-beta from MySQL.com. I have managed to... -
MySQL Intermittent Connection Issues
We periodically recieve these connection errors with our CF MX6.1 and MySQL 3.23.58, running on the same Red Hat Enterprise 3 linux box. Error... -
ASP.NET Insert into bit datatype
Hey, I'm using ASP.NET vb and sql server 2000, basically I have a form with a few yes/no radio buttons and they insert into table with bit field... -
citext datatype
Does anyone use citext, http://gborg.postgresql.org/project/citext/projdisplay.php, the case insensitive text datatype? Are there any negative... -
Balancing speed against OO design - optimization issues with PHP/MySQL
Hi all, a request for opinions, please. I am designing a smallish application to manage members of several committees of a particula... -
Neculai Macarie #2
Re: MYSQL 4.1 INT datatype issues with CF7
> When I try to pull my SMALLINT, MEDIUMINT, and INT fields from my MYSQL
4.1datatypes> tables, I get a value like "4294967307". However, once I change thedriver. I> to BIGINT, they work just fine and I can pull the actual values.
>
> I am running ColdFusion MX 7 with hotfix3 and the latest MYSQL JDBCto> have seen this problem on my Windows 2003 CF7 installation as well as when
> running it locally as the standalone 8500 installation. It isn't isolatedwith> one table or datasource, it happens in them all.
>
> Also, for the record, the exact same cfqueries and mysql tables work finemy> CFMX 6.1. I am in the process of migrating to MX7 though.
>
> Any suggestions? This isn't a major problem, I've just been chaning allI think I had the same problem and I solved it by upgrading to the latest> datatypes to BIGINT and things work fine.
jdbc driver (from the 3.2 series).
--
<mack />
Neculai Macarie Guest
-
rwhaun #3
Re: MYSQL 4.1 INT datatype issues with CF7
Thanks for the tip. I downloaded the
[url]http://dev.mysql.com/downloads/connector/j/3.2.html[/url] and it solved the problem.
Unfortunately, that version is still in ALPHA phase so I'm a bit wary about
using it in production.
For now, I may just continue with my workaround until a stable version of JDBC
3.2 is released.
Anyone think I should submit this as a bug report for CFMX7? or is it a MYSQL
JDBC bug? I didn't have the problem with JDBC 3.1 on CFMX6.1. So that makes
me think it is more of a CF7 issue.
rwhaun Guest
-
mpwoodward *TMM* #4
Re: MYSQL 4.1 INT datatype issues with CF7
rwhaun wrote:
This sounds to me like a driver issue--if using a new driver fixes the> Thanks for the tip. I downloaded the
> [url]http://dev.mysql.com/downloads/connector/j/3.2.html[/url] and it solved the problem.
> Unfortunately, that version is still in ALPHA phase so I'm a bit wary about
> using it in production.
>
> For now, I may just continue with my workaround until a stable version of JDBC
> 3.2 is released.
>
> Anyone think I should submit this as a bug report for CFMX7? or is it a MYSQL
> JDBC bug? I didn't have the problem with JDBC 3.1 on CFMX6.1. So that makes
> me think it is more of a CF7 issue.
>
problem, then it's definitely the JDBC driver, not CF.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest



Reply With Quote

