What is the error it gives u?
Where u execute your query add this: or die(mysql_error());
Or add your code here ...
BTW, with binary, the index cannot be used, a solution is to apply the binary operator to the constant, then the index is used (so your query will be much faster):
WHERE user = BINARY $user