i have mysql table with users, where i need to change user passwords. It will change with the same password for all, but it need to exclude some users.
The rule for exclude is column "lastvisitDate" with value "0000-00-00 00:00:00"
I tried to run this script, but it changed all my users..
select id FROM f5r6t_users WHERE lastvisitDate ='0000-00-00 00:00:00' ;
set password ='pass'
Where i have a mistake? Thanks for any advice