I\'m trying to insert some Binary data into a MySQL database without using prepared statements. The reason for this is that I concatenate thousands of statements into a sing
Found the solution .... Although not something I saw documented anywhere .....
You can insert Binary data directly by writing the bytes converted to HEX and preceeded by 0x
For example:
INSERT INTO my_table VALUES (1,0x19c0300dc90e7cedf64703ed8ae8683b,2);