Data too long for column...

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
eduardosic
Posts: 387
Joined: Fri 18 Nov 2005 00:26
Location: Brazil

Data too long for column...

Post by eduardosic » Tue 04 Dec 2007 22:28

Hi,

in my computer runing mysql i don't get the exception
#22001Data too long for column 'XXX' at row 1, the rows is saved
with the column length.

but if the server is running in other machine this exception is raised.

how to supress the exception and save data?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 05 Dec 2007 13:11

For what field types does the problem occur? Try to find differences in server settings and object definitions. Probably the problem is related to different server versions.

Post Reply