Thanks for the answer but that's not it. It was my typo. I am really updating and
selecting from the same table.
Webmaster, Weizmann Institute of Science
>>> On 4/9/2008 at 1:54 PM, in message
<DMEGJFCOCHBGNBCHNDHGAEGAJNAA.edward@stripped>, "Edward Kay"
>> We have just moved to a new web server where we are running mysql
>> version: 5.0.45
>> On the old machine, when we gave the following command:
>> update table1 set passwd = password('xx') where user_name="xx";
> Here you're updating 'table1'...
>> and then gave the following command,
>> SELECT user_name FROM alon_protein_passwd WHERE (user_name = "xx"
>> AND passwd=password('xx'))
> ..but here you're selecting from 'alon_protein_passwd'
>> we got the expected results.
>> Now when we do this, on the new machine, we get no result i.e. Empty set.
>> Any help will be appreciated.