What data type should I use to save $connection- > id in workerman to mysql?

it"s wrong for me to use varchar to read it out, so what should I use?

problem description

the varvhar that saves $connection- > id to mysql is a simple number that can no longer be used.

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)
"insert into Connection values ("$CabinetId","$deviceid","$datetime","$ConnId")";

what result do you expect? What is the error message actually seen?

it is hoped that the read id data can be used to use

Jul.26,2021
Menu