数据库账号无法锁定

试试这个语句
UPDATE mysql.user SET account_locked = ‘Y’ WHERE user = ‘username’ AND host = ‘host’;