I have two tables with bigint:
table1 id bigint(20) PK autoincrement name varchar(40), text table2 id bigint(20) PK autoincrement created datetime text_field id_table1_ref bigint(20)
After inserting data into table1 and trying to insert table1.id into table2.id_table1_ref, the number is different, that is:
The number 1552545662588 from table1.t1 becomes 1552545662 or, even worse, a negative number.
I know this is a configuration issue, but I can't figure out how to do this. I tried setting signed / unrecognized values ββfor fields, but it does not work.
This happens on my local UNIX machine, everything is working fine on the server, at least for now.
Any help would be greatly appreciated.
user2262738
source share