|
Posted by Jψrn Dahl-Stamnes on 02/26/07 12:59
Willem Bogaerts wrote:
> Before you do that (and frankly, you shouldn't, as you are dealing with
> binary data), check the output of
>
> SHOW VARIABLES LIKE '%char%'
> on both MySQL servers. Is there any difference?
No, they both show the same.
After I posted my previous message, I realized that BLOB does not use
character sets. BLOB is pure binary.
My PHP code and SQL table is more or less identical to the guide found at
http://www.php-mysql-tutorial.com/php-mysql-upload.php
However, when I downloaded the SAME file from the client to the test- and
test-server, the size of the file is different by 7 bytes! That sounds
strange to me.
I also tried to fire up my cold standby prod-server, same shit as on the
prod-server. The standby prod-server also run RH 7.3, which is what the
test-server does.
I have tried to debug this for a month now, trying all kinds of stunts - no
luck. I'm beginning to get rather frustrated!!
--
JΓΈrn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/
[Back to original message]
|