What happens if you do a
GRANT ALL PRIVILEGES ON *.* TO 'ilias'@'localhost' WITH GRANT OPTION;
I think the issue being that you're doing
GRANT LOCK TABLES on *.* TO 'ilias@localhost';
vs
GRANT LOCK TABLES on *.* TO 'ilias'@'localhost';
The quotation marks will matter.
GRANT ALL PRIVILEGES ON *.* TO 'ilias'@'localhost' WITH GRANT OPTION;
I think the issue being that you're doing
GRANT LOCK TABLES on *.* TO 'ilias@localhost';
vs
GRANT LOCK TABLES on *.* TO 'ilias'@'localhost';
The quotation marks will matter.