I don't think there is a similar command, but if your keys are simple (not composed) you can do the trick.
I usually generate a DELETE script with an SELECT CONCAT statement
You have your "IDs" file :
root@test:/tmp# cat /tmp/id.out
1
2
34
56
2345
3
4
Create a temp table to store it in SQL:
CREATE TEMPORARY TABLE test.ids (id int PRIMARY KEY);
Load your IDs:
LOAD DATA INFILE '/tmp/id.out' INTO TABLE test.ids;
Then generate a delete.sql script with a SELECT CONCAT:
SELEC CONCAT("DELETE FROM myTable WHERE ID=", id," LIMIT 1;") FROM test.ids INTO OUTFILE "/tmp/delete.sql";
Now you have your delete script:
root@test:/tmp# cat "/tmp/delete.sql"
DELETE FROM myTable WHERE ID=1 LIMIT 1;
DELETE FROM myTable WHERE ID=2 LIMIT 1;
DELETE FROM myTable WHERE ID=3 LIMIT 1;
DELETE FROM myTable WHERE ID=4 LIMIT 1;
DELETE FROM myTable WHERE ID=34 LIMIT 1;
DELETE FROM myTable WHERE ID=56 LIMIT 1;
DELETE FROM myTable WHERE ID=2345 LIMIT 1;
Then you can run your DELETE scripts:
mysql> source /tmp/delete.sql
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
You can also generate this type of script with OS tools (awk or notepad++)
You can run this type of script safely on a production master, you DELETE rows from the PK and you limit with LIMIT 1 so you do not risk to have replication lags.
Best Regards.
Max.