How to alter each article's comment setting by PHPMyAdmin
Comment settings for each post are stored in the node table. You can run the following, or similar, query:

UPDATE node set comment = 2 WHERE type = 'foo';